Post

Replies

Boosts

Views

Activity

Reply to Gauge View text size of standard template not achievable in SwiftUI
Thanks for the quick response! So previously I was unable to get the minimumScaleFactor to work. This is good. However, I still took your exact code and put it in a complication template. The text labels don't have spacing between them as with the stock complication. It won't let me post an image here or link to one, but either way, take the exact Gauge you had above, and wrap it in a preview and compare with the stock one shown in the preview, the text sizes and positions are significantly different. @available(watchOSApplicationExtension 7.0, *) struct GaugeSample_Previews: PreviewProvider {     static var previews: some View {         CLKComplicationTemplateGraphicCircularView(TestGauge())                 .previewContext() } } Also, completely separately, what's the purpose of the Image(systemName: "heart.fill") in your code, this has no effect for me?
Topic: App & System Services SubTopic: General Tags:
Sep ’20
Reply to Failed to save complication bundle.
Apple Documentation explicitly states: "if you want your placeholders to appear in the Face Gallery, you must provide a complication bundle that contains your placeholders." https://developer.apple.com/documentation/clockkit/creating_complications_for_your_watchos_app/adding_placeholders_for_your_complication Can we please get some further detail here?
Sep ’20
Reply to Swiftui: TabView does not work on my iPad Pro 2020
I'm also having this issue. I've submitted a Feedback on the issue and made a sample project which I attached. It's a basic project that just uses SwiftUI to implement a Tab View Application. Toggling the Full Keyboard Access on before launch causes this very basic app to grind an iPhone 12 mini to a halt on iOS 14.3
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’21
Reply to How often do I schedule Widget updates?
Edorphy, I'm not sure I can really comment on iOS 12.2, though I suspect Apple will only really investigate bugs with iOS 14 currently.... I've not bothered with a HKObserverQuery in the end as I wasn't able to get it to work reliably. Instead I just use the Widget update callbacks to do fresh HKSampleQueries. Regards Simon
Topic: App & System Services SubTopic: General Tags:
Jan ’21
Reply to Reload Widgets when device unlock
Did you get anywhere with this? I basically only want widget refreshes when the device is unlocked for the HealthKit data store. It seems frustrating to have to request updates every 15 minutes when most return no data because the device is locked. Ideally I'd like to say update every 5 minutes, but only when the device is unlocked, and preferable with a priority call on unlock. Along side this Apple Watch only syncs its HealthKit data to the watch periodically. Calling a widget refresh at this point would be perfect.
Topic: App & System Services SubTopic: General Tags:
Feb ’21
Reply to Does Always-on screen require watchOS 8 as a minimum deployment target?
I've not been able to get the always on display feature working throughout the entire summer. My app has a deployment target of WatchOS 6 mostly to support Series 1 & 2 Apple Watch models. Do you think that I need to drop support for WatchOS 6 & 7 in order to get my app working with the Always On display for WatchOS 8? Because even in the latest RC build (RC Xcode 13, RC iOS 15 and RC WatchOS 8), I can't get it to behave differently from how it did with WatchOS 7 and the time. I've also tried adding WKSupportsAlwaysOnDisplay and setting it to TRUE. No luck.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’21