I'm working on an iOS app and looking to see if it is possible to know when a user opens a URL (for example, user press a button and executes code like below)
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"telprompt://1234567890"]]
telprompt: show an alert when it's called. But I want a way to detect if user press Ok button or Cancel button. I need execute some code in -(void)applicationDidEnterBackground:(UIApplication *)application
depending which button was pressed. Any idea?