In my code, I have this snippet to make a phone call with dialing prefix (basically, a "call me" button) :
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"telprompt://+0000000000"]];
if(SYSTEM_VERSION_LESS_THAN(@"7.0")) {
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:+0000000000"]];
}
I wonder if the iPhone will hide the dialing prefix when it's unnecessary (?).
Thanks,
Second answer to my own question :
according to this post, mobile Country code doesn't change when roaming : Does CTCarrier mobileNetworkCode change when roaming?
Best way is therefore :
Works fine too.