application: handleOpenURL: problem
I need to support custom URL scheme. I did something like that:
I implemented application: handleOpenURL: method in my application delegate class. The method parses the URL string and sets object with parsed data as a property in the delegate object. Later, in viewDidLoad method of the first view i try to access the delegate's property and... the property is nil! Unfortunately i can't debug what's wrong.
When I prepared NSURL object with the same link in applicationDidFinishLaunching: method and invoked application: handleOpenURL: method by hand everything worked great!
So there must by a problem with method invocation order. Am I correct?
How to solve this issue?
|