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
1 answer

Setting a value for WatchKit app from iOS app when WatchKit app isn't running

I have already know how to use WCSession's updateApplicationContext method, but it only works when my WatchKit app is running. I need to transfer currency exchange rates from the iOS app to the watch, to update my watch data and complication. I have…
0
votes
1 answer

Background Notifications on WatchOS 3 (XCode 8b6)

I have foreground notifications on watch working with: class WorkoutInterfaceController: WKInterfaceController, UNUserNotificationCenterDelegate set delegate: UNUserNotificationCenter.current().delegate =…
Greg Robertson
  • 2,317
  • 1
  • 16
  • 30
0
votes
1 answer

Apple Watch Connectivity file not found

When I try to import the WatchConnectivity framework like this: #import I get this error: 'WatchConnectivity/WatchConnectivity.h' file not found Is there something extra that I had to import or is this a…
av993
  • 47
  • 4
0
votes
0 answers

iPhone and Apple Watch connectivity signal strength to detect how far they are from each others

I just want to detect the distance between iPhone and Apple watch. e.g. nearby, far and out of reach. There is an iOS App Lookout which does that. I want to achieve that.
Fahad Azeem
  • 541
  • 7
  • 14
0
votes
1 answer

App in App Store and Apple Watch app installation fails for some users — can I make installation more reliable somehow?

I have an app in the App Store with an Apple Watch app. For most users, installation works fine. Some users have had a problem where the Apple Watch app installation fails at what appears to be 75% (based on the pie graph status indicator over the…
gohnjanotis
  • 6,513
  • 6
  • 37
  • 57
0
votes
1 answer

Shared files between IOS app and watch extension

I have an IOS app with a watch extension. I use a read-only SQLite file with Core Data (which is already populated and not edited). Accessing the file from the bundle resources works fine using this code. - (NSURL *)storeURL{ NSString *…
0
votes
1 answer

Xcode 7.3 - Swift - Expected Declaration - Apple Watch App

My watch app will be a random number generator. I get two error messages: Expected declaration, use of undeclared type 'UIEVENT' and use of undeclared type 'UILABEL' I think there is something wrong with the label but I am not sure. class…
Harry
  • 1
0
votes
1 answer

Constructing a date for getRequestedUpdateDateWithHandler:

I need to update my watchOS complication at midnight every day. startOfDay is the beginning of the day (i.e., 12 AM today). Should I add a day to the start of today like this? func getNextRequestedUpdateDateWithHandler(handler: (NSDate?) -> Void) { …
Harish
  • 1,374
  • 17
  • 39
0
votes
1 answer

Scroll whole screen height (watchOS)

I want to make interface be scrollable like in Health app, on the full screen height, and do not allow to stop scrolling in the middle, is it possible? For example, I have two buttons, and I want them be visible one on screen, another will shown…
KostiaZzz
  • 170
  • 14
0
votes
2 answers

Which target do I build for App Store submission including Watch extension?

I have a universal iOS app which runs on all iOS 9 capable iPhone and iPads. The app also has a Watch extension. When I come to submit the first version to the App Store, which target do I build, archive and submit? Do I have to archive the Watch…
mashers
  • 1,009
  • 7
  • 22
0
votes
1 answer

Open Apple Maps by tapping on a WKInterfaceMap in a dynamic notification

My Watch app receives push notifications containing location information and I use that info to show a WKInterfaceMap. However, when I tap on the map in the notification dynamic interface, my app is opened instead of the Maps app. I found this…
Banana
  • 4,010
  • 9
  • 33
  • 49
0
votes
1 answer

How do I edit the new interfaces I created in interface.storyboard?

I created new interfaces in interface.storyboard (interface that belongs to watchOS) and now want to program some buttons and Labels that have the new interfaces and do not know how to do this. When I open the Interface Controller class in Xcode it…
tr_pyton
  • 3
  • 5
0
votes
1 answer

Information not sending over to Apple Watch on viewDidLoad

I have an iOS app that has a watchOS extension, both of which are build in Objective-C. The app needs to send over an array when it loads up (viewDidLoad) or appears (viewDidAppear:(BOOL)animated). When the app loads up, nothing happens, but if I…
JustMe
  • 306
  • 1
  • 4
  • 15
0
votes
1 answer

Add int at the end of a variable

I've 16 buttons in a view named as: @property (strong, nonatomic) IBOutlet WKInterfaceButton *bb1; @property (strong, nonatomic) IBOutlet WKInterfaceButton *bb2; @property (strong, nonatomic) IBOutlet WKInterfaceButton *bb3; @property (strong,…
Chaudhry Talha
  • 7,231
  • 11
  • 67
  • 116
0
votes
1 answer

Glance icon size for watchOS?

I'm trying to use one of the Glance templates and placing my image in the upper left corner. The problem is that my icon is showing up fuzzy. The Apple docs doesn't specify the size of what this icon should be. Any ideas on what the 1x, 2x, and 3x…
TruMan1
  • 33,665
  • 59
  • 184
  • 335