Reputation: 1047
I just setup my URL Scheme In plist.info
file.
When I use the assoicated web page I have two different cases :
1 - If the app is lunched and in the background : The URL form the web page open the app and trigger application:openURL:options
and the parameters parsed and the flow continue smoothly.
2 - If the app isn't lunched : The URL from the web page open the app but NOT trigger application:openURL:options
so the application stop on the first screen.
Why the second scenario happened ? I'm on iOS 9.0 as a deployment target and iOS 9.3.5 as a testing device version.
Upvotes: 0
Views: 1207
Reputation: 17721
The behaviour of application:openURL:options:
depends on the result of application:willFinishLaunchingWithOptions:
and application:didFinishLaunchingWithOptions:
methods, because you can handle the incoming urls always inside of these methods. Take a look into the discussion section in the docs for UIApplicationDelegate
(https://developer.apple.com/reference/uikit/uiapplicationdelegate/1623112-application?language=objc) for more details.
Upvotes: 1