Post

Replies

Boosts

Views

Activity

Comment on Dismissing a sheet leads to broken button
Thanks! Based on this I was able to come up with even better workaround! If you have access to it (depending on your min-deployment target), you can use .presentationDetents([.fraction(0.99)]) which gives you practically a full sheet, and doesn't create this button issue. Only downside is that you don't get the nice shrink effect on the view behind, but I can live with that. 🤷
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’22
Comment on In SwiftUI, how to hide tab bar when a list is tapped to show a new view (without the tab bar)?
@waterloo No entirely ideal, but you can add the following to the top of wherever your TabView is: init() { UITabBar.appearance().isHidden = true }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on Dismissing a sheet leads to broken button
Thanks! Based on this I was able to come up with even better workaround! If you have access to it (depending on your min-deployment target), you can use .presentationDetents([.fraction(0.99)]) which gives you practically a full sheet, and doesn't create this button issue. Only downside is that you don't get the nice shrink effect on the view behind, but I can live with that. 🤷
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’22