This issue is fixed for me with Xcode 15 Beta 7 for iOS 17 Beta 7 AND iOS 16.6 Release. Great news!
Post
Replies
Boosts
Views
Activity
This issue is fixed for me with Xcode 15 Beta 7 for iOS 17 Beta 7 AND iOS 16.6 Release. Great news!
Same issue here: https://developer.apple.com/forums/thread/736064
I get this crash on iOS 17 beta 6 AND iOS 16.6 😣
Use ClockKit? I'm sure it's not recommended due to being deprecated but ClockKit Complications will not show up in the Smart Stack.
What about if I want to share a preference between a Watch App WidgetKit Extension (for Watch Face complications) and a Watch app? I don't see how any of the suggested methods would apply to a WidgetKit extension.... This has worked for me previously when sharing between iPhone App and iPhone Widget Extension.
Sorry, I've had a look and can't find the docs on this but essentially, my understanding is that the Apple Watch holds at least the past 7 days of Health data.
If you had an app running on the Watch you could consider using background execution to cache entries and extend that window.
I've found the Apple Watch Face Editor on iPhone is still not reliable when doing the WIdgetKit migration. See separate post here for details on that, any ideas welcome.
As for the migration, I'm having success with the getWidgetConfiguration in my ComplicationController which conforms to the CLKComplicationWidgetMigrator
I provide it the identifier for the widget configuration and I provide the Widget bundle extension identifier. Although I have widgets on iPhone and Apple Watch, I provide separate Extension targets and identifiers as I was struggling to get the right entitlements with a combined one. If there are any other details I can provide to help please let me know!
Another +1 on this here. I'm trying to draw Charts with ~1,000 point marks and scroll through them in a page style tab view. Even on the latest devices there's noticeable lag. Was wondering if there's anything that can be done to pre-draw them, optimise the data set or something. Currently I just use:
In the View initialiser:
let data:[(Date,Double)]
And in the view body:
ForEach(0..<data.count, id: \.self) { index in
PointMark(
x: .value("Time", data[index].0),
y: .value("Data", data[index].1)
)
}
Many thanks for any suggestions
Did you ever get anywhere with this? I assume the problem is linked to this?
https://stackoverflow.com/questions/30361033/healthkit-data-inaccessible-in-background
Have created a feedback FB12407543 on the basis that this is a bug...
I've found that I am unable to add the HealthKit entitlement to my Watch app Widget Extension, but I can add it to my iPhone app Widget Extension... I also don't seem to need it in my Watch app Widget Extension. Is there any guidance or recommendations on this?
Thanks
Right, I've submitted 2 subtly different feedback for this. One for existing SDK and one for WatchOS 10. If this isn't resolved by WatchOS 10 I'm going to be in big trouble with my users because I need to implement WidgetKit to be in the Smart Stack. But If I implement it as is, I'll loose one of my most popular Complications which will really upset users. Stuck between a rock and a hard place.... plus I did confirm in a WWDC23 lab that WidgetKit implementation is all or nothing, you cannot run ClockKit & Widgetkit complications on the same Watch. Here are the feedbacks, FB12331689 & FB12331662 🙏 for a fix
I really want to migrate to WidgetKit for complications but issues like this keep holding me back. Is there still no way to get corner text working like the original post image!?
I believe this is the same issue as detailed here:
https://developer.apple.com/forums/thread/729599?answerId=753211022#753211022
I've given an answer to me best knowledge there. Hope it helps.