Is the code for calling on the iPhone automatically
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:11111111111"]]);
Your second line is fine and will work.
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel://1111111111"]]);
1.4m articles
1.4m replys
5 comments
57.0k users