Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 12-16-2008, 09:37 AM   #1 (permalink)
mipegs
New Member
 
Join Date: Oct 2008
Posts: 57
Default 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?
mipegs is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,780
Threads: 89,204
Posts: 380,599
Top Poster: BrianSlick (7,129)
Welcome to our newest member, Prolocksmith12
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 11:37 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.