Post

Replies

Boosts

Views

Activity

Reply to Companion Apple Watch App local notifications delayed?
I have received the following feedback from Apple: This is correct behaviour. If you have both a phone and watch app installed we’ll try to coordinate between phone and watch notifications if the phone is unlocked. If the app developer doesn’t send a notification on the phone the watch will timeout after 13 seconds and alert anyway. The best solution to this would be to send the same notification on both devices ensuring the UNNotificationRequest.identifier matches on a per-instance basis. This will let us alert and deduce correctly.
Feb ’22
Reply to Corner complication with arching text label
There is another thread on this issue where one user got feedback from an Apple engineer: https://developer.apple.com/forums/thread/707827 So I got an answer from a framework engineer on Twitter and it seems that the curved text in the corner won't be supported in watchOS 9. We're supposed to work around by setting a font like .system(size: 28, weight: .semibold, design: .rounded) to get a similar text size but it won't be curved. The other "issue" with the gradient gauge was a misunderstanding of mine: I thought it's only possible to tint it in combination with a gauge style but we can of course just add a .tint(gradient) modifier This bug/oversight is currently blocking my migration to WidgetKit-based complications since you cannot combine the two frameworks for different slots.
Oct ’22
Reply to AppShortcuts are not showing up when using CustomIntentMigratedAppIntent with Xcode 14.1 beta 3.
Thank you, ColtonJ! My AppIntents were no longer visible in the Shortcuts app and this solved my issue. Another tip: If you use SwiftFormat in your project and write code like static var typeDisplayRepresentation: TypeDisplayRepresentation = TypeDisplayRepresentation(name: "Some Name") it will get reformatted to static var typeDisplayRepresentation: TypeDisplayRepresentation = .init(name: "Some Name") which breaks the metadata processor again. Therefore I recommend using the following syntax: static var typeDisplayRepresentation = TypeDisplayRepresentation(name: "Some Name")
Nov ’22