telprompt:允许的字符少于电话本身。哪一个?

| 我正在使用iPhone的通讯录通过telprompt:拨打电话。带空格和破折号的数字不起作用,而带加号和数字的数字仅起作用。 iPhone本身不允许键入,但与Mac同步会给我带来很多(无效?)电话号码。允许使用哪些字符,为什么?     
已邀请:
        尝试使用此代码,它仅在电话号码字符串中保留数字:
NSString* phone = @\"477 (38) 232-35-47\";
//@\"477 (38) 232-35-47\"
phone = [[phone componentsSeparatedByCharactersInSet:[[NSCharacterSet decimalDigitCharacterSet] invertedSet]] componentsJoinedByString:@\"\"];
//@\"477382323547\"
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@\"telprompt:%@\", phone]]];
    
        请参阅RFC 3966的第3节“ URI语法”:电话号码的
tel
URI。     

要回复问题请先登录注册