Post

Replies

Boosts

Views

Activity

Reply to UIApplication.shared.open iOS 18
Those are two different methods. This is the one with a closure that works https://developer.apple.com/documentation/uikit/uiapplication/1648685-open This one, with no closure is deprecated and nonfunctional https://developer.apple.com/documentation/uikit/uiapplication/1622961-openurl
Sep ’24
Reply to Xcode16 openURL is invalid
It has been deprecated for quite a while. It is worth treating deprecations as an error and start updating the code when you become aware of it. We got hit by URL returning nil for bad url's, we internally used an invalid url for many years for internal navigation. Waiting till it broke to fix it cost us a lot of time and work.
Aug ’24
Reply to SwiftUI - Device orientation
You can enable upside down for the phone, but I think the default was done because laying on your back while holding the phone above you can easily look to the phone like upside down. Apple created the size categories years ago and never updated them. I think the Apple intent is you layout your content to fit the screen and not really think of it as orientation. On the ipad the user can have two apps open and one might be the size of a phone. The stage manager increases the possible sizes.
Aug ’24