For some reason my alert is not working?
If i use NSLog(@" %@ ", url)
its fine... but no alert here:
- (void)alertURL:(NSURL *)url {
UIAlertView *someError = [[UIAlertView alloc] initWithTitle: url message: @"Error sending your info to the server" delegate: self cancelButtonTitle: @"Ok" otherButtonTitles: nil];
[someError show];
[someError release];
}
- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url {
[self alertURL:url];
return YES;
}
Could anyone point out to me whats going wrong :(