I'm trying to programmatically dial开发者_如何学编程 a phone number on iPhone by running this command:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:555-555-5555"]];
But, nothing happens, as if the command never ran.
Any ideas?
I'm not sure the simulator allows you to place a phone call.
精彩评论