Our app uses custom URL scemes. For example: ourApp:// which relies on this delegate method:
- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url
Tried this too:
-(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation
From testing, I notice these methods are not being called.
From the documenation, I notice these methods are deprecated.
My questions are:
a.) Are custom URL schemes still being supported in iOS10?
b.) If not, what is the alternative?
I also notice that typing some well known custom URL schemes in the browser works as expected. For example mailto:// or tel://. However, typing ourApp:// results in a page not found error. This is not true for 9.x.
I find that you must set this key in info.plist, LSApplicationQueriesSchemes. This key must be set for all custom url schemes one references including the one for our app. In other words, once I added "ourApp" to LSApplicationQueriesSchemes custom URL schemes started working again. Note, I did not have to add our app to this list in 9.x.