I was was wondering is there any possible way to call operators commands directly from application ? some codes like :
*149*124#
because I can’t call this command
UIDevice *device = [UIDevice currentDevice];
if ([[device model] isEqualToString:@"iPhone"] ) {
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"tel:*149*124# "]]];
}
is there any API public or non-public for this issue ?
Try changing your code to this:
Note that this will NOT work on the simulator, or an iPod / iPad, as they have no phone application.