Post

Replies

Boosts

Views

Activity

Reply to Open Safari from Widget
I’d love to know this too. I think currently it’s not possible, seems you can only open the main app. (You could build a workaround by opening the main app myApp://openSafari=someUrl etc and then your main app would open safari. Which is not a nice workaround of course but the only solution I can think of)
Aug ’20
Reply to New dismiss @Environment variable, presentationMode in Beta 2
Ok I guess it was actually partially my fault. I see they fixed some navigation issues in beta 3. but if you have multiple levels of navigation you have to set isDetailLink(false) accordingly. in my example I have a main list going to another view (let’s say View A). And from this view you can go to a detail view. Now if I dismiss from detail view i want to go back to view A and not the main list. so i have to set on the links in the main list isDetailLink(false)
Jul ’21
Reply to A basic DocumentGroup App presents two back "<" buttons on the navigation bar.
Ok I just accidentally found a workaround, use with caution because I haven't checked yet what exactly it does (but it removes the additional back button). Adding .toolbarRole(.automatic) to the content view fixes it (or any of those roles). DocumentGroup(newDocument: TestDocAppDocument()) { file in             ContentView(document: file.$document)                 .toolbarRole(.automatic) }
Sep ’22