I am using apple's canOpenURL: and openURL: methods to detect & open other application. But as these methods are deprecated in iOS9, They returns NO.
Is there any alternate to manage this?
Thanks
I am using apple's canOpenURL: and openURL: methods to detect & open other application. But as these methods are deprecated in iOS9, They returns NO.
Is there any alternate to manage this?
Thanks
Here you can find some information.
as the article said:
In short: Apple wants to prevent apps from being able to scan a user's device and know which apps are installed
So to answer to your question: actually there is no solution, because apple want exactly to prevent this kind of behaviour
In some contexts, if you need to open arbitrary deeplinks, the Universal App Links can be a solution: you point to the website of the app (which needs to implement this behaviour) and iOS 9 will automatically deeplink to the adhoc app.
You need to provide "whitelist" to your plist
See for more details
iOS 9 has made a small change to the handling of URL scheme.
More details