Can I open the phone app on iPhone using URL scheme? if yes then how? I know I can dial a number using this:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel://8004664411"]];
But I don't want to dial a number, I just want to open the phone as I click on the phone icon on home page.
The only recognized URL scheme to open the phone app is tel://
There is a nice summary of recognized URL schemes @
http ://applookup.com/
<- (edit) link is currently spam.
The tel:
URL will open Phone.app and dial a number.
The documentation is here:
However, there doesn't appear to be a tel:
URL that simply opens the app. If you provide no number, the tel:
URL appears to be ignored by iOS.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.