Post

Replies

Boosts

Views

Activity

Comment on Driving Task Crash When Adding Action Sheet or Alert
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Unsupported object <CPActionSheetTemplate: 0x28036c750> <identifier: CFE56540-A3AE-45CB-ACDF-E05C1CA003FC, userInfo: (null), tabTitle: (null), tabImage: (null), showsTabBadge: 0> passed to presentTemplate:animated:completion:. Allowed classes: {( CPListTemplate, CPNowPlayingTemplate, CPTabBarTemplate, CPAlertTemplate, CPVoiceControlTemplate, CPGridTemplate )}'
Mar ’24
Comment on iOS18 AudioPlaybackIntent respond too slow when app not launched
Here's a more concise translation: I've added the intent to both the Extension and the App. When debugging, I set a breakpoint in the App's perform method, and there is a significant delay before this breakpoint is hit, not in the playback logic itself. If I enable openAppWhenRun in the intent, the launch speed improves significantly. The launch time with the intent is around 4-5 seconds, but a direct app launch is much faster. What's the difference between these scenarios?
Aug ’24
Comment on iOS18 Live Activity failed to show sometimes
Purpose of the LA (Live Activities): The app is a music type, and when switching music, the content of the Dynamic Island is refreshed (based on push notifications). The issue does not occur during the update stage, but rather when the app is in the foreground and the Live Activity is started, which causes an anomaly. Please see comment below, thanks i add more detail log.
Aug ’24
Comment on iOS18 Control Widget dynamic switch intent
"ControlWidgetTemplate is a new feature introduced in iOS 18, and my task mainly involves adding a Control Widget. Initially, I based my work on ControlWidgetButton, but I kept getting the error: 'Reference to generic type 'ControlWidgetButton' requires arguments in <...>'. ControlWidgetButton is a generic class, and despite trying for a long time, the error persists. 😌"
Aug ’24
Comment on users Widgets disappear!!! Xcode 16
We are unable to reproduce the related issues, and all information currently comes from user feedback. Users typically do not use tools like Console.app to assist in troubleshooting. There are others in the thread experiencing similar issues, so I believe this is not an isolated case. Please keep an eye on these related problems. I have submitted feedback from my device, but have not encountered the issue myself. FB15244934
Sep ’24