I am trying to launch my app to a specific view, from an external url (from email/webpage using link myapp://sale/1234).
If the app is not already running in background,app is crashing on launch.
If the app is running in the background, application:openURL:sourceApplication:annotation: is called perfectly.
Please help me out.
My fault fellas, it was coredata manageObjectContext, which was not created when openUrl is called. I am saving the url if context is not created and calling the openUrl after managedObjectContext is created. OpenUrls has nothing to do with my crash. it always works as fine… Thanks a lot anyways.