Questions tagged [watchos-9]
6 questions
2
votes
1 answer
Access iOS App / WatchOS App data from WidgetKit Complication (WatchOS 9)
I have an app inlcuding an Apple Watch app and a WidgetKit (iOS 16) extension.
The iOS app sends data via WatchConnectivity to the Apple Watch app and displays it there. Also it provides data to a WidgetKit (iOS 16 - Lockscreen) extension using…

Simon C.
- 1,605
- 14
- 13
1
vote
1 answer
WidgetKit not calling urlSessionDidFinishEvents
I'm trying to implement downloading timeline data in a widget and so I created a background URLSession with a corresponding data task to download the JSON:
let session = URLSession(
configuration: .background(withIdentifier: identifier),
…

Gargoyle
- 9,590
- 16
- 80
- 145
0
votes
2 answers
Tap action for new complications of watchOS 9
In earlier watchOS versions (ver>9) we can use complication descriptor to add complications and metadata like userActivity for handle tap action in the watch app delegate (according to AppleDocs):
If you create a complication descriptor using the…

Mahdi Moqadasi
- 2,029
- 4
- 26
- 52
0
votes
0 answers
Sharing watchOS widgets in a watch face
With ClockKit, when sharing a complication to another Apple Watch, watchOS called handleSharedComplicationDescriptors(_:) on the CLKComplicationDataSource. Is there a similar method somewhere in WidgetKit?

Gargoyle
- 9,590
- 16
- 80
- 145
0
votes
0 answers
"Failure Reason: Message from debugger: Terminated due to memory issue". Having this problem in WatchOS app on a digitalCrownRotation
So I started a new project for Apple Watch and the progress is doing great, but one issue that I couldn't fix was the Memory Leak one. I need to put around 60 images on a ScrollAmound with digital crown rotation, but when it gets to the 20th the app…

Kblo
- 1
0
votes
1 answer
How to hide/remove WatchOS 9's .sheet cancel button?
Previous to watchOS 9 you could present a sheet without any out of the box way to cancel or dismiss. However starting in watchOS 9 presenting a sheet also presents a cancel button in the top left of the navigation bar. How can I remove this and…

GarySabo
- 5,806
- 5
- 49
- 124