I have successfully added my own url schemes to my application. The application starts correctly using circuits.
Now I want to process incoming data, but the delegate is not called. This is a universal application, and I added the following function to AppDelegates:
- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url { if (!url) { return NO; } NSString *URLString = [url absoluteString]; UIAlertView *alert = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"test message", nil) message:URLString delegate:self cancelButtonTitle:nil otherButtonTitles:@"OK", nil]; [alert show]; [alert release]; return YES; }
I am testing a scheme: myapp: //appalarm.com ... and would expect to be appalarm.com in a URLString
What is wrong with him?
Thank you for your responses!
source share