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

Why doesn't my Apple Watch complication show anything?

I created an app using Xcode's "iOS App with Watchkit App" template, went into TARGETS and checked Complications Configuration > Supported Families > Graphic Corner. I opened ComplicationController.swift in the Extension and modified…
Robert
  • 6,660
  • 5
  • 39
  • 62
6
votes
1 answer

Complication on Apple Watch not showing my information

I'm faced with a problem with complications on Apple Watch. I'm trying to display images and some texts on a complication. I can select the complication on the Clock interface but it shows nothing that the app title and two lines full of "-"…
A. Silva
  • 629
  • 1
  • 6
  • 16
6
votes
4 answers

WatchOS3 Complication that launches App

I would like to create a complication for watchOS 3 that will simply launch my App. I have used XCode to create the ComplicationController: class ComplicationController: NSObject, CLKComplicationDataSource { // MARK: - Timeline Configuration …
Greg Robertson
  • 2,317
  • 1
  • 16
  • 30
6
votes
1 answer

watchOS - Show realtime departure data on complication

I have an public transport app with realtime departure data for trains. I would like to add a complication that shows the departure time of the next train. Is it possible to show (or refresh) realtime data on a complication? For example, showing "3…
6
votes
1 answer

How to update Watch Complication only when the watch is awake, to not use up the daily budget

I have a server that keeps 2 booleans. These booleans change every 15 seconds. Whenever I wake my Apple Watch, I want the complication to show the current state. How can I do it withough exhausting the budget early on? The best way would be to fetch…
Novellizator
  • 13,633
  • 9
  • 43
  • 65
5
votes
1 answer

WatchOS5 - how to refresh my complication instantly?

I have an apple watch complication and the iPhone app running side by side. I have a button within the app to transmit application context dictionary to the watch. I expect to see the complication title to be refreshed. I cannot seem to force the…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
5
votes
2 answers

Adding GraphicCircular Apple Watch Complications to an existing Xcode Project

I can't find any documentation online that explains how to add any of the new "graphic" complications available on the Watch Series 4. These are my steps: (1) added class that conforms to CLKComplicationDataSource (code below) (2) set…
GarySabo
  • 5,806
  • 5
  • 49
  • 124
5
votes
2 answers

Call ExtensionDelegate to create/refresh data for Complication

All my data creation is done in the ExtensionDelegate.swift. The problem is ExtensionDelegate.swift doesn't get called before the function getCurrentTimelineEntryForComplication in my ComplicationController.swift. Any ideas? Here is my code and…
SRMR
  • 3,064
  • 6
  • 31
  • 59
5
votes
2 answers

Is transferCurrentComplicationUserInfo more suitable for complication update?

What is the difference between transferCurrentComplicationUserInfo and transferUserInfo? I want to send data from my AppDelegate to a clock kit complication. transferCurrentComplicationUserInfo seems to do exactly the same thing as…
4
votes
1 answer

WCSession "isComplicationEnabled" always returns false in iOS 15.4

Since I've updated my test device (iPhone 12 mini) to the latest iOS version 15.4, the complications of my companion app on the watch (watchOS 8.5) do not receive any updates sent by the iOS app. To reproduce the issue you need: An iOS app with an…
4
votes
0 answers

Does ClockKit support custom text sizes in complications?

I'm working on a timer app for Apple Watch and would like to provide a circular complication with the remaining duration of a timer. Here is some example code, which you can preview in Xcode 12: import ClockKit import SwiftUI struct…
Felix
  • 776
  • 8
  • 16
4
votes
0 answers

Apple Watch Complication Template - Modular small image multicolor

Hello, I'm trying to create a complication for Apple Watch, in the modularSmall family, using a CLKComplicationTemplateModularSmallSimpleImage. I want the image to be displayed as a multicolor image when the tint is set to "multicolor" (just like…
Ericlm
  • 117
  • 1
  • 13
4
votes
1 answer

Allow ComplicationController to access CoreData SwiftUI

In Xcode 12 beta 2 using SwiftUI I want my ComplicationController to make a FetchRequest in order to update my complications but I am having trouble injecting the persistent store into the environment. I should note this is a pure SwiftUI App in…
Dan O'Leary
  • 916
  • 9
  • 20
4
votes
0 answers

Make the Text (Timer) Fit under CLKComplicationTemplateGrphicCircularOpenGaugeSimpleText

I am working on the watch complication for my app. The app main feature is to time tracking some tasks. So for .graphicCircular module, I choose to use the graphic circular open gauge template.…
nuynait
  • 1,912
  • 20
  • 27
4
votes
0 answers

imageProvider not displaying image in Graphic Complication Watch OS5

I'm adding Infograph Complications to my Apple Watch app, but I cannot get the images to appear in the GraphicImage family of complications I've successfully created the complications - their data (text, gauge) displays fine, they link into the app…
1
2
3
13 14