All Questions
Tagged with watch-os-2 or watchos-2
841 questions
1
vote
0
answers
113
views
How WCSession's isPaired = false but isWatchAppInstalled = true?
Watch app's Info.plist
// ...
<key>WKRunsIndependentlyOfCompanionApp</key>
<false/>
// ...
My code:
session.delegate = self
session.activate()
public func session(_ session: ...
3
votes
0
answers
405
views
Upload Standalone watchOS App to App Store Connect?
I want to upload stand along watchOS application to App store connect. App is installed on both simulator and testing device. Now I need to send the build on TestFligt and after archive its not ...
1
vote
1
answer
385
views
How to setup SwiftUI app file to allow independent app to deploy on WatchOS 6
I am attempting to deploy a SwiftUI app to an Apple Watch Series 2 with WatchOS 6.3, from an iPhone running iOS 15. After connecting the device to Xcode and clicking the build button, I get errors ...
1
vote
1
answer
3k
views
SwiftUI: WebP images are not loading in WatchOS
Tried to load WebP Image like in this article,
https://www.hackingwithswift.com/forums/swiftui/loading-images/3292
is working fine in iOS App target but not in WatchOS Extension target.
if let image = ...
2
votes
0
answers
163
views
isMagnetometerAvailable always return false on Apple Watch series 6
I'm writing the code to access motion data by CMMotionManager().
I can get Acceleration, User accel, Gravity, Attitude, and Rotation rate correctly.
Now I want to add the Magnetometer reading function....
2
votes
0
answers
491
views
WatchOS, SwiftUI pop to root view Controller
I need to pop to the root view from a deep detail view. Found this solution on StackOverflow SwiftUI: How to pop to root view for WatchOS?. The following solution using isDetailList and isActive works ...
0
votes
1
answer
194
views
Adding App Icon to WatchOS App info.plist
I am trying to add App Icons to my WatchOS app but need to do this in the Info.plist as I am building the project through the NativeScript CLI.
I have all the watch icons stored in AppIcon.appiconset ...
10
votes
1
answer
3k
views
Where should data reside in a watchOS app?
I've been going through all of the Apple documents and videos related to creating watchOS apps, complications and the like. Carefully studying the flow of updating data and the user interface - yet ...
2
votes
1
answer
457
views
Is there any delegate for monitoring progress when transfering data from WatchOs to iOs using WatchConnectivity?
I'm using WatchConnectivity to transfer files from Apple Watch to iOS device (this direction). Transfer itself is ok. I send file from Apple Watch by calling transfer file function:
session?....
1
vote
0
answers
169
views
containerAppExtensionEntitlementsWithCompletion: failed with error: (null)
Trying to authorize on watchOS. Getting this error:
2019-03-20 18:32:45.859857-0600 iRun WatchKit Extension[21129:1854743] [default] containerAppExtensionEntitlementsWithCompletion: failed with error:...
1
vote
0
answers
153
views
Detect "screenshot" press while in background on Apple Watch
I have followed this answer to make my app detect when the crown and side button are pressed at the same time. This works for me, but only when the app is in the foreground. My app uses an ...
1
vote
1
answer
641
views
Access Apples fall detection on the Series 4
Is there a way to get access to Apples fall detection on the Series 4. I would like my watch app to be able to detect when the user falls. I am hoping that Apple would let me get notified when they ...
1
vote
0
answers
481
views
HealthKit permission sheet does not appear
I am writing an Apple WatchOS app which needs the user's heart rate. However, I am not able to get the HealthKit permissions sheet to appear. The watch and iPhone display a notification saying that my ...
1
vote
1
answer
1k
views
Apple Watch simple "Modular Large" complication not showing in customize screen unless I enable all other complications too
I am testing and able to reproduce this in a very simple app. I am following the WWDC 2015 video: https://developer.apple.com/videos/play/wwdc2015/209/
Another tutorial which uses the same info is: ...
1
vote
2
answers
1k
views
Check how many consecutive days a user has used an app [closed]
I've already seen other questions asking about how many times the app has been opened. I want to send a local notification when the user uses the app for 31 consecutive days.
Would this be a ...