ios Calling is not available
Frage
How do I know that I can not call from the device? For example for e-mail: [MFMailComposeViewController canSendMail]
Anything for calling?
Lösung
if ([[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"tel:+123456"]]) {
...
}
Andere Tipps
This can be used for calling :
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:12125551212"]];
Please refer this link for more:
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow