IPod touch canOpenURL type tel: //

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.

+7
ios cocoa-touch ios8
source share
1 answer

Hm I'm not sure I find it useful here since I don’t have an iPod for testing, but on Mac you can open the URL using the tel:// scheme that launches FaceTime. This can call any phone number through the nearest iPhone.

I don't know if this is the case for iPod models.

+1
source share

All Articles