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"]]);
2.1m questions
2.1m answers
60 comments
57.0k users