我试过下面的代码:
NSString *phoneStr = [[NSString alloc] initWithFormat:@"tel://%@",[[dCliente objectAtIndex:1] stringByReplacingOccurrencesOfString:@"-" withString:@""]];
NSURL *url = [[NSURL alloc] initWithString:phoneStr];
[[UIApplication sharedApplication] openURL:url ];
[phoneStr release];
[url release];
有人可以告诉我可能是什么问题吗?我用IOS6直接在iPhone上测试