Post

Replies

Boosts

Views

Activity

Reply to TabView with TabSection crashing on iPad
@JagCesar2 Hey, have you heard anything from your bug report? I just dug back into this issue and was able to reproduce it with Apple's own DestinationVideo project: https://developer.apple.com/documentation/visionos/destination-video Only thing you need to modify is uncheck 'Requires full screen' in Deployment info. After that select any item in the sidebar and minimise the app. If it doesn't crash after the 1st attempt, retry it a couple of times. For me it always bails with: SwiftUI/SidebarAdaptableTabViewStyle_iOS.swift:482: Fatal error: Tried to update with invalid selection value I also created a radar under FB15759496
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’24
Reply to TabView with TabSection crashing on iPad
I'm experiencing the same issue. It occurs, when minimising the app. My guess is that this happens while generating the snapshot for the app switcher. Even adding an empty section will crash my app: TabSection("Feeds") { Tab("Home", systemImage: "house", value: Navigation.Sidebar.default) { EmptyView() } } Removing the wrapping "TabSection" fixes the issue.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’24
Reply to TabView with TabSection crashing on iPad
@JagCesar2 Hey, have you heard anything from your bug report? I just dug back into this issue and was able to reproduce it with Apple's own DestinationVideo project: https://developer.apple.com/documentation/visionos/destination-video Only thing you need to modify is uncheck 'Requires full screen' in Deployment info. After that select any item in the sidebar and minimise the app. If it doesn't crash after the 1st attempt, retry it a couple of times. For me it always bails with: SwiftUI/SidebarAdaptableTabViewStyle_iOS.swift:482: Fatal error: Tried to update with invalid selection value I also created a radar under FB15759496
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to TabView with TabSection crashing on iPad
I'm experiencing the same issue. It occurs, when minimising the app. My guess is that this happens while generating the snapshot for the app switcher. Even adding an empty section will crash my app: TabSection("Feeds") { Tab("Home", systemImage: "house", value: Navigation.Sidebar.default) { EmptyView() } } Removing the wrapping "TabSection" fixes the issue.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’24