I'm actually trying to call 2 digits phone numbers via openURL (works properly for 3+ digits).
On IOS 6 i was using an hack, like this :
if (self.numberToCall.length < 3) {
self.numberToCall = [NSString stringWithFormat:@"%@?000", self.numberToCall];
}
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"tel://%@", self.numberToCall]]];
Not working on IOS 7 (does nothing).
Someone has a solution ?