Reputation: 4186
I have registered my app as a custom file handler, and I managed Mail.app to call it with the attachment URL when the user taps on it.
My problem is that, with iOS 4.2 on the device, the app can already be running, and application:didFinishLaunchingWithOptions isn't called in that case.
Does anyone know what event / protocol I can use to get notified that the user wants to open the document, although the app is already in background mode?
Cheers, Florian
Upvotes: 0
Views: 787
Reputation: 71068
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation
iOS Application Lifecycle Docs
Upvotes: 3