Questions tagged [apple-watch-complication]

Complications are small elements that appear on the watch face and provide quick access to frequently used data.

From the docs:

About Complications
Complications are small elements that appear on the watch face and provide quick access to frequently used data. Users can customize most watch faces and install the complications that they want to see. The system provides built-in complications for weather information, upcoming calendar events, the user’s activity, and many more types of data. Apps can also add support for complications and display app-specific data.

207 questions
4
votes
0 answers

Updating Apple Watch Complication by fetching data using a URL request

I am having a complication that needs to update once in a while by fetching data from a server. I am trying to fetch the data from the Watch. I am doing so by scheduling a WKRefreshBackgroundTask. When this task fires, I start a URL session to fetch…
Bocaxica
  • 3,911
  • 3
  • 37
  • 54
4
votes
2 answers

How to create apple watchOS5 complication?

I've never worked in WatchOS5 and want to develop a horizontal complication (Modular large) for AppleWatch, like "Heart Rate". The idea is that I would display heart rate data in a different way. Right now I want to deploy the complication on…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
4
votes
1 answer

How do I make ClockKit generate more than just 100 timeline entries?

I am trying to create a ClockKit complication that provides data for when a person's next shift starts, but not enough timeline entries are being generated or generated often enough, so sometimes, the data is inaccurate after a certain amount of…
Joseph
  • 293
  • 4
  • 12
4
votes
0 answers

Not able to update complication in watch OS 4

I have updated my code to latest version.I have an issue regarding update complication in watch OS4.Before updation of the code its working fine. My mobile app contains two languages english and chinese. User is able to update the app language from…
4
votes
1 answer

Complication placeholder not showing

I've just added a complication to my watchOS app. I was able to select it on simulator's watch face, but it shows blank items. Temporary all methods of CLKComplicationDataSource return nil. I've created a new assets group for complication, added all…
kelin
  • 11,323
  • 6
  • 67
  • 104
4
votes
1 answer

How to make count-down within watch complication?

I'm working on a complication that should provide a count-down in minutes? Say user specified it to be 25 mins, so the complication should update the count every minute until it hits 0. From what I researched, complication should be updated using…
ymotov
  • 1,449
  • 3
  • 17
  • 28
4
votes
1 answer

reloadTimeline() doesn't update complication

I'm trying to make a watchOS 3 app, and I want to update my complication in a background task. First, I get new data from a server in a background task within handle(). After that, I update my active complications by calling…
4
votes
1 answer

CLKComplicationTemplateUtilitarianSmallRingImage not showing image

I'm having issues using CLKComplicationTemplateUtilitarianSmallRingImage with a central image. I'm pretty sure that at one point the image I choose was showing up within the progress ring, but after relauncing a few times, the image disappeared.…
Dandy
  • 1,203
  • 1
  • 16
  • 31
4
votes
1 answer

How can you display HealthKit data on a complication that is refreshed in the background?

I am trying to build a watchOS 2 complication that displays a user's health data, such as steps (but in theory it should be able to display any health data the user has given the app permission to view). When the complication first launches, I can…
lehn0058
  • 19,977
  • 15
  • 69
  • 109
4
votes
1 answer

How to connect and debug a custom ClockKit Complications controller?

I am trying get a custom ClockKit Complication working. I created a custom ComplicationController conforming to CLKComplicationDataSource. It’s added to the Watch Extension’s plist as CLKComplicationPrincipalClass. I am able to select a…
Bernd
  • 11,133
  • 11
  • 65
  • 98
4
votes
2 answers

updating WatchOS2 ClockKit complication with IOS data

I am trying to update a watchOS2 clockkit complication with data transferred via WatchConnectivity from IOS / iPhone. Despite quite a bit of research, so far unsuccessful. I found though that other posts are describing similar challenge (with no…
4
votes
0 answers

Control Apple Watch's Brightness programmatically

Is there any way to control Apple Watch's Brightness programmatically?
BitKnight
  • 149
  • 7
3
votes
1 answer

How to Edit Complication name in Watch app of iPhone?

I am trying to create a WidgetKit based complication for watchOS 9 on XCode 14. Everything works fine but the Complication name in the Watch app of the iPhone shows COMPLICATION_TYPE_EDIT_LABEL_(NULL)_COMPANION How do I change it to display my app's…
3
votes
1 answer

Adding watchOS complications in Xcode 14 results in CoreData API Misuse error

In Xcode 14 beta 6, when I add complication placeholders in the watchOS Assets.xcassets, it gives me the CoreData API Misuse error as I add them. Does anyone here have any idea on how to resolve the CoreData API Misuse error?
Tristan
  • 31
  • 1
3
votes
0 answers

Accessing Watch Faces with the XCUITest Framework

Context I'm building Unit Tests for the Apple Watch using the XCUITest library. I'd like to take screenshots of the Watch Faces on the simulator, so I was thinking on using the bundle ID of the 'Clock App' via the: XCUIApplication(bundleIdentifier:…
1 2
3
13 14