Apple's ClockKit framework (ClockKit.framework) allows to use complications on the Apple Watch.
Questions tagged [clockkit]
83 questions
3
votes
3 answers
Watch Connectivity updating Complication using transferCurrentComplicationUserInfo
I'm having issues with the WatchConnectivity and potentially Clockkit frameworks.
I'm trying to use transferCurrentComplicationUserInfo in the iOS app to send data to the watch and update the complication.
Inside my extension delegate on the watch I…

Simon
- 304
- 2
- 17
3
votes
1 answer
Apple Clockkit Complication do not display placeholder data
I'm developing some clockkit complications in objective-c using ios 9.2 and xcode 7.2
I've watched a great video here https://developer.apple.com/videos/play/wwdc2015-209/ and found a couple of helpful articles. In this video, and also in the…

MagicFlow
- 477
- 3
- 17
3
votes
1 answer
Apple watch complication not refreshing in the background when using HealthKit queries
I am trying to display a user's daily step count in an Apple Watch complication. I setup my class by calling HKHealthStore's requestAuthorizationToShareTypes method and the complication displays steps correctly when it is first added to the watch…

lehn0058
- 19,977
- 15
- 69
- 109
3
votes
1 answer
Apple Watch Complication not updating in background
I have an Apple Watch complication that initializes correctly and show the data I am expecting. However, when the NSDate returned in my getNextRequestedUpdateDateWithHandler method triggers a refresh, the only method in my delegate that gets called…

lehn0058
- 19,977
- 15
- 69
- 109
3
votes
0 answers
WatchOS2, ClockKit, CLKRelativeDateTextProvider being truncated prematurely
I am using the following snippet to show the relative time in a Modular Large complication.
textTemplate.body1TextProvider = [CLKRelativeDateTextProvider
textProviderWithDate:timeOfEntry
…

Snips
- 6,575
- 7
- 40
- 64
3
votes
1 answer
how to wake up iOS parent app with sendMessage from complicationController
I am trying to wake up the iOS parent app by sending a message from watchkit extension.
This though does only work when below sendMessage function is called from the watchApp / ViewController. When it is called from ComplicationController, the…

TPeter
- 463
- 3
- 15
3
votes
1 answer
transferCurrentComplicationUserInfo and ComplicationController
I'm looking to send data to my complication as part of a didReceiveRemoteNotification to update the data displayed but there seems to be little documentation from Apple on how to setup the relationship between this and the complication itself.
When…

Callum Jones
- 595
- 4
- 15
2
votes
0 answers
The complication "updates immediately" problem in WatchOS
The complication "updates immediately" problem in WatchOS
Here I have a problem about update the apple watch complication's data,In the Apple Official Reference There are 5 way to update the complications,but in my repository,I think the…

Coffee Ganster
- 21
- 2
2
votes
1 answer
Is there a full list of which complication families are supported by each watchOS face?
It is not immediately obvious which complication families need to be implemented to support a specific watch face.
Also, which complication families can be placed in the same complication slot. For example, it appears the either…

Dustin
- 409
- 1
- 4
- 17
2
votes
1 answer
watchOS does not enter ComplicationController
I want to develop a simple complication as my first watchOS project.
I've set everything up as the screenshot shows:
But When I set a breakpoint inside ComplicationController.swift, it will not be called. Therefore, my complication does not fill…

WalterBeiter
- 2,021
- 3
- 23
- 48
2
votes
2 answers
Best way to get Core Location data from an Apple Watch Complication?
What is the prescribed method of figuring out a user's latitude and longitude from the complication?
I've tried instantiating a location manager inside the complication controller, and requesting the location, both using requestLocation, and…

Will Powers
- 155
- 1
- 6
2
votes
1 answer
WatchKit complications: watch complication set has an unassigned item
I'm working on a watchOS app with a modular large face complication. The Assets.xcassets file in the WatchKit Extension includes a Complication folder with one image set each for Circular, Extra Large, Modular and Utilitarian, but in my case I have…

UberJason
- 3,063
- 2
- 25
- 50
2
votes
1 answer
Apple Watch ClockKit Complications don't update their timeline entries if the clock face isn't hidden during execution
Has anyone else noticed a problem with complication entries not updating properly. I've just added some initial support to my app, but noticed that they weren't displaying what i expected them to display. For example's sake, and for ease of testing…

jimbobuk
- 1,211
- 12
- 25
1
vote
0 answers
Userdefaults for complications are nil while watch is working fine
I'm able to successfully send userdefaults from the phone to the watch using applicationContext and save those userdefaults to the app group I created. For the watch, I see all the userdefaults come in successfully and I'm able to use them in the…

Mike B
- 21
- 2
1
vote
1 answer
What is the ActivityType when handling the launch of a complication with onContinueUserActivity in swiftUI
I have a SwiftUI Apple Watch app. When a user taps on a complication, I want to show the appropriate view. I think I can do so with an onContinueUserActivity modifier but I can't find the appropriate ActivityType.
I named it…

Rumbles
- 806
- 1
- 8
- 15