Post

Replies

Boosts

Views

Activity

Reply to SwiftUI Preview Don't work iOS 15 Xcode 13.0
Was struggling with this issue for the past few hours and just resolved it. The issue was that the device chosen from the list of simulators runs on iOS 15.2, and when I go to Preferences > Components I wasn't seeing 15.2 listed, only 15.0. So to resolve this: I went to Window > Devices and Simulators Chose Simulators Clicked on the + at the bottom left corner Added a name and choose iOS 15.0 (since it was the only one I had in the components) Selected this new device in the list then tried to re-un the preview and it worked fine Hope this helps someone.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’22
Reply to SwiftUI Preview Don't work iOS 15 Xcode 13.0
Was struggling with this issue for the past few hours and just resolved it. The issue was that the device chosen from the list of simulators runs on iOS 15.2, and when I go to Preferences > Components I wasn't seeing 15.2 listed, only 15.0. So to resolve this: I went to Window > Devices and Simulators Chose Simulators Clicked on the + at the bottom left corner Added a name and choose iOS 15.0 (since it was the only one I had in the components) Selected this new device in the list then tried to re-un the preview and it worked fine Hope this helps someone.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to watchOS NavigationLink not hidden when isActive is false
I'm having the same issue where an empty button shows. A workaround I found is to set the opacity to 0 and put the NavigationLink inside a ZStack as if it was inside a VStack it will still take space from the screen. Not sure how reliable this is but I'll test for a few days and see how it holds up!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to iOS 14 (SwiftUI) Sheet Modals not dismissing and acting randomly weird
I confirm as well that webbguyatwork's tip solved my modal dismiss issue. Using fullScreenCover on the outer most view solved the 'no dismiss' issue I was having. Thank you!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’21