Post

Replies

Boosts

Views

Activity

Comment on Live Activity (Dynamic Island) suddenly stopped working without code changes
The Dynamic Island remains blank, but when I tap it, it correctly launches my app. This indicates that the activity is created, but the UI never gets rendered. Additionally, the Live Activity on the Lock Screen also does not show any UI. Questions Is using .frame(maxWidth: .infinity, maxHeight: .infinity) causing layout issues inside Dynamic Island? Are there known constraints or limitations in Dynamic Island views that could prevent rendering?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
3w
Comment on Live Activity (Dynamic Island) suddenly stopped working without code changes
Hello! I’m currently working on a Live Activity / Dynamic Island implementation, but I’m facing an issue where the UI does not appear on the island. There are no relevant errors in the Xcode console — only warnings related to layout calculations (e.g., unable to compute view size). In order to make the UI expand to fill all the available space inside the Dynamic Island, I used: .frame(maxWidth: .infinity, maxHeight: .infinity)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
3w
Comment on How to Access Core Data from Another App via App Group
Thank you for your reply. As a beginner, I still have some confusion. I have created two apps with the same .xcdatamodeld file, one of which contains the Core Data model and the other does not. When the app without the model is installed, all the data from the previous .xcdatamodeld file that contains the Core Data model gets lost. If I do not create a .xcdatamodeld file, I receive an error stating that the file does not exist and I cannot use Core Data. How can I resolve this?
Topic: Community SubTopic: Apple Developers Tags:
Sep ’24