Xcode16 openURL is invalid

Xcode version: Xcode16 beta6 iOS version:iOS18 beta7

The openURL method call to UIApplication is invalid Moreover, the project has a lot of logic dependent on the return value of this method, which is very troublesome to modify

Look at the Apple documentation, and say that the problem is fixed, how should I deal with this situation

Answered by jlilest in 801511022

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.

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.

Xcode16 openURL is invalid
 
 
Q