On iPod Touch running iOS 8.0 (12A365), canOpenURL: returns YES for tel:// URL schemes.
In addition, openURL: returns nil, after a delay of 5-10 seconds .
UIApplication *application = [UIApplication sharedApplication]; NSURL *url = [NSURL URLWithString:@"tel://"]; if ([application canOpenURL:url]) { [application openURL:url]; }
Does anyone know why canOpenURL: doesn't return NO for iPod? The facetime URL scheme is different ("facetime: //"), so theoretically it should return NO .
Unfortunately, I do not have an iPod with iOS7 for testing, so I cannot isolate the problem only from iOS8.
ios cocoa-touch ios8
paulvs
source share