On an iPod Touch running iOS 8.0 (12A365), canOpenURL:
returns YES
for tel://
URL schemes.
Also, openURL:
returns nil, after a 5 - 10 second delay.
UIApplication *application = [UIApplication sharedApplication];
NSURL *url = [NSURL URLWithString:@"tel://"];
if ([application canOpenURL:url])
{
[application openURL:url];
}
Anyone know why canOpenURL:
doesn't return NO
for iPod? The facetime URL scheme is different ('facetime://') so in theory it should return NO
.
Unfortunately I don't have an iPod with iOS7 to test, so I can't isolate the problem to only iOS8.