Post

Replies

Boosts

Views

Activity

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
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’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. 😌"
Topic: UI Frameworks SubTopic: SwiftUI Tags:
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.
Topic: UI Frameworks SubTopic: General Tags:
Aug ’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?
Topic: UI Frameworks SubTopic: AppKit Tags:
Aug ’24
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 )}'
Topic: Code Signing SubTopic: Entitlements Tags:
Mar ’24
Comment on watchOS 26: Audio Playback Interrupted by Fitness Notifications Across Multiple Apps
FB20801029
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Oct ’25
Comment on CarPlay UI Issues in iOS 26: CPListItem accessoryImage Misplaced and Display Problems
The same issue persists: previously, setting accessoryImage would display the image on the far right. Now, it appears right next to the detailText, and the image is extremely small. I am already using the latest beta, but the problem still exists.
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Aug ’25
Comment on users Widgets disappear!!! Xcode 16
i'm afraid it's not (it's widget extension). and it not happen to everyone. i have tested it on some devices and it works fine. it comes from some users feedback. i have no idea how to reproduce it.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’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
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’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. 😌"
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Comment on Set openAppWhenRun variable in AppIntent programatically.
face the same problem, any solution? 😭
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
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.
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’24
Comment on iOS18 AudioPlaybackIntent respond too slow when app not launched
I suspect the issue lies with AudioPlaybackIntent. I tried switching to AppIntent, but in iOS 18, AppIntent cannot route to the App when it's in the background. I've reported this issue but haven't received a response: https://developer.apple.com/forums/thread/758784.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Aug ’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?
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Aug ’24
Comment on CarPlay present CPActionSheetTemplate Crash
below iOS17, how can i present a template?i try to use CPAlertTemplate, but it can only show one button. how can i present a alert witn multiple action, just like apple music. 😭😭😭
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’24
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 )}'
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Mar ’24