Questions tagged [watchkit]

WatchKit is an integral part of the Apple Watch experience for third-party applications. It contains the classes for creating Apple Watch applications and it ensures that an Apple Watch application can talk to its corresponding WatchKit extension.

WatchKit allows iOS developers to create rich, third-party app extensions with actionable items and notifications for the Apple Watch, as they've built apps for the iPhone and iPad.

More information on WatchKit:

3223 questions
11
votes
3 answers

How to deploy (build and run) app on the Apple Watch?

Up until April 24th 2015, development of apps for the Apple Watch has been done using the Apple Watch simulator. Now that the Watch is available, has anyone figured out how to deploy (build and run) apps on the watch itself?
Van Du Tran
  • 6,736
  • 11
  • 45
  • 55
11
votes
3 answers

Remove Watchkit Glance from my App

When I created my app I was excited to work with Glances and Notifications, but as it progressed I realized that it wasn't a needed functionality. I deleted the .swift and interfaces for both the glance and notification controllers, but is that all?…
YichenBman
  • 5,011
  • 8
  • 46
  • 65
11
votes
9 answers

Load image from URL on WatchKit

Is there a more elegant solution to load an external image on the watch than the following ? let image_url:String = "http://placehold.it/350x150" dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)) { let url:NSURL =…
fabian
  • 5,433
  • 10
  • 61
  • 92
11
votes
9 answers

WatchKit app wont run on simulator

error: WatchKit Extension doesn't contain any WatchKit apps. Verify that the value of WKWatchKitApp in your WatchKit App's Info.plist is set to YES. I kept getting this error and didn't know why after searching all the other questions here, took…
ZachNag
  • 503
  • 3
  • 14
11
votes
1 answer

In Watch Kit How Do You Present A Page Programmatically

In a watch app how do you change page programmatically? I've got 3 WKInterfaceControllers in a page based app and I want to change from one page to another when a user presses a table view cell. I can present a view controller modally fine but when…
Mark Bridges
  • 8,228
  • 4
  • 50
  • 65
11
votes
3 answers

Dynamic number of pages in Watchkit Page Navigation

Is there any way dynamically create pages in a page-based navigation? In every example I read, the pages were created as Interface Controllers and linked in the Storyboard.
Dănuț Mihai Florian
  • 3,075
  • 3
  • 26
  • 44
11
votes
4 answers

WatchKit Simulator Won't Load App

Originally, I thought this was an issue of the code I was writing, but I've just downloaded four or five WatchKit projects even one from Apple. All of them, fail to load. I've uninstalled Xcode, reinstalled it and still nothing. Any one else…
YichenBman
  • 5,011
  • 8
  • 46
  • 65
11
votes
3 answers

Is heart rate raw data available for developers via WatchKit?

Is it possible to develop third party apps using Apple's WatchKit with an API for heart beat/rate data access/raw data access? Is the WatchKit SDK publicly available for developers now?
Smitha
  • 6,110
  • 24
  • 90
  • 161
11
votes
8 answers

.xcdatamodeld file not showing data model structure in Xcode

I have .xcdatamodeld file in my project but it not opening up into the data model. When I click on the file in the left sidebar in Xcode, it continues to display the contents of the previously selected file instead of displaying the data model.…
Abhinav
  • 37,684
  • 43
  • 191
  • 309
10
votes
5 answers

How to determine the Apple Watch model?

The WKInterfaceDevice.current().model property does not give a model number: For Apple Watch, the value of this string is Apple Watch. How can the exact Apple Watch model be determined from iOS?
Manuel
  • 14,274
  • 6
  • 57
  • 130
10
votes
1 answer

containerAppExtensionEntitlementsWithCompletion failed with error: (null)

I'm getting this error in the console for my watch app and I can't figure out what it's related to and haven't found any other posts or documentation about it. Anyone else know? The full message is 2017-12-02 18:31:01.379382-0500 Watch…
GarySabo
  • 5,806
  • 5
  • 49
  • 124
10
votes
0 answers

How to programmatically exit Apple Watch app and return to watch face?

When a Push Notification is received on an Apple Watch, pressing the "dismiss" button dismisses the notification and returns to the watch face screen. Within my Apple Watch app, I would like to implement a similar experience to a notification. That…
pkamb
  • 33,281
  • 23
  • 160
  • 191
10
votes
1 answer

How can I share information between my iOS and Watch apps using WatchConnectivity?

[Disclaimer: this question is intended to be a wiki question to answer the frequent questions about sending data between the iOS and watch apps under the watchkit and watch-os tags.] I am developing an Apple Watch app and would like to send data…
Dávid Pásztor
  • 51,403
  • 9
  • 85
  • 116
10
votes
3 answers

How to get App Groups name programmatically?

I am using extensions in my application. For sharing data between app and extension using app Groups. How Can I read App Group name programmatically so no need create extra configuration file for storing App Group name.
Sadasiba Sahoo
  • 129
  • 1
  • 6
10
votes
2 answers

Picker control methods related to Focus

I have a iOS + Watch app with a UIPicker, and I keep getting logs related to it that I can't figure out related to the Watch app: [default] -[SPRemoteInterface handlePlistDictionary:fromIdentifier:]:2977: ComF:->Plugin method .pickerFocus is not…
SRMR
  • 3,064
  • 6
  • 31
  • 59