Questions tagged [watchos]

watchOS is Apple's operating system for Apple Watches. Optimized for touch-based interfaces, this OS has a lot in common with iOS, which is the operating system for Apple's mobile devices, but shouldn't be confused with it.

watchOS is Apple's operating system for Apple Watches. Optimized for touch-based interfaces, this OS has a lot in common with , but shouldn't be confused with it.

Currently, the Apple Watch is the only device that runs watchOS. Its API is called WatchKit (see ).

Helpful links

1236 questions
0
votes
0 answers

Previous watchOS background budget overload preventing current background app refreshes

I'm developing a watchOS app that executes regularly in the background using background refresh tasks. A while ago I put in a call to update the watch's complication at each background refresh. This quickly burned through all of the complication…
rharding
  • 551
  • 1
  • 3
  • 14
0
votes
2 answers

WebKit alternative for on Apple Watch? evaluateJavaScript()

I have a webpage and I want to interact via JavaScript with it (to get data and to perform input events) that means I want to load the webpage in background. In iOS i could do this easily with WebKit and a webView + the evaluateJavaScript Method,…
0
votes
1 answer

WKCrownSequencer not working after going back to main interface controller

I have a WKCrownSequencer that triggers an action in my pushed interface controller and the first time through everything works fine. When I go back to root interface controller regardless of the method (pop or reloadRootcontrollers) the digital…
0
votes
1 answer

How to open App Store from a watchOS app?

Suppose I have a Pro version of the watchOS app, and I want to redirect user to the App Store on the iPhone. How to achieve this? I tried to use WatchConnectivity. In the iOS app I have the following code: func session(_ session: WCSession,…
kelin
  • 11,323
  • 6
  • 67
  • 104
0
votes
1 answer

Programmatically notification on apple watch. (WatchOS 3)

How I can programmatically make the notification appear only on the apple watch and only when the event occurs. I searched for a long time on the Internet and in the documentation but did not find the answer
farabiDev
  • 81
  • 3
0
votes
1 answer

How can local settings be stored on apple watch?

I am aware of the methods listed here to save preferences across Apple Watch and iOS. But, they mention that settings cannot be changed on the Apple Watch side, and that a WCSession would be needed to change settings from the watch. I am looking for…
0
votes
1 answer

Retrieve user defaults information from an Apple Watch

I have an iPhone and an Apple Watch paired together, and there are some values stored in the user defaults of the phone. I want my Apple Watch to be able to retrieve that stored information somehow and bring it back to the Watch. What is the best…
bigreddawg
  • 723
  • 1
  • 5
  • 10
0
votes
0 answers

Change relationship segue order of appearance in WatchKit

Current storyboard looks like this: The above picture shows segue from main screen to settings screen. I still want the mainView to appear as initial interface controller. However, can I reorder the settings screen to appear left of the MainView…
as diu
  • 1,010
  • 15
  • 31
0
votes
1 answer

WatchOS - complication update from iOS

Is there a way how to update watch complication from iOS app? I've found some solutions but nothing works for me. I need to change the text in the complication to the text inside iOS app whenever I touch my button inside the iOS app. Any solution?
Phyber
  • 1,368
  • 11
  • 25
0
votes
1 answer

Passing data between two Interface Controllers

I want to pass a string between two Interface Controllers. On InterfaceController1 I want to create a variable like: var level: String = ("easy") And then be able to access that variable on InterfaceController2. There is currently just one answer…
Dylan Murphy
  • 167
  • 1
  • 13
0
votes
1 answer

In WatchOS, how to know in which language presentTextInputController is recognizing text?

By Default WatchOS's presentTextInputController is recognizing in english language, we can change the recognizing language using deep touch.How to get the language code when user changes language using deep touch while recognizing?
sparrowceg
  • 81
  • 6
0
votes
0 answers

How can I create a number selector in WatchKit?

I would like to create a number selector in the same style as the ones used in the stock workout app (with the selected value surrounded by - and +). See screenshot below: Is there a built-in component for doing this or would I have to construct it…
Alan Spark
  • 8,152
  • 8
  • 56
  • 91
0
votes
1 answer

Running HKWorkoutSession causes native Workout app to crash

I have an app that uses HKWorkoutSession. This app also support background modes. It uses HealthKit only to notify user in set intervals and doesn't collect any data. Everything works fine, if it running alone, but if a user follows the next…
kelin
  • 11,323
  • 6
  • 67
  • 104
0
votes
1 answer

watchOS 3 - What am I supposed to do in userNotificationCenter:willPresentNotification:withCompletionHandler: to actually show the notification?

I have made the ExtensionDelegate my UNUserNotificationCenterDelegate and properly assigned it. I have my watchOS 3 app add a notification request, which triggers userNotificationCenter:willPresentNotification:withCompletionHandler: I have…
Erika Electra
  • 1,854
  • 3
  • 20
  • 31
0
votes
0 answers

the same code working another computer but not on my computer

On my apple watch app I am trying User Notifications. On simulator, this code is working on another computer but it isn't working on my computer. I restarted my computer, updated my xcode(other computer's xcode is last version too), I tried…
eren
  • 31
  • 6