I've managed to solve my issue using Application Console. It's allways good to find out that there is a cool stuff around (like Application Console).
As I find out the problem was in method invocation order:
So the order was:
delegate method: applicationDidFinishLaunching:
first view controller method: viewDidLoad:
delegate method: application: handleOpneUrl
So, the object accessed in viewDidLoad method was nil because it was not created yet.
Thanks for help!
|