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"]]);
755k questions
754k answers
5 comments
53.3k users