先看代码,正常来说,拨打电话是正常的。             
  NSMutableString *str=[[NSMutableString alloc] initWithFormat:@"tel:%@",@"*#06#"];
// str=[[NSMutableString alloc] initWithFormat:@"tel://%@",@"10010011"];
            NSLog(@"str:%@",str);
            
            if( [[UIApplication sharedApplication]canOpenURL:[NSURL URLWithString:str]]){
                [[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];
            }else{
                NSLog(@"cant open %@",str);
            }

但对于特殊指令会报错:

[urloverrides] Error getting URL override for (null): Error Domain=NSOSStatusErrorDomain Code=-50 "invalid input URL" 
UserInfo={NSDebugDescription=invalid input URL, _LSLine=332, 
_LSFunction=-[_LSDOpenClient getURLOverrideForURL:newsOnly:completionHandler:]}