简体   繁体   English

FaceTime号有空格

[英]FaceTime number has space

I am getting this strange behavior when making a Facetime call. 进行Facetime通话时出现这种奇怪的行为。 The number is just a test number (123-456-7890) but the way it reads in Facetime is +12 3 456 7890 该数字只是测试编号(123-456-7890)但在Facetime中的读取方式为+12 3 456 7890

Is there a way to change that in code or am I stuck with putting a leading 1 on every number? 有没有办法改变代码,还是我坚持在每个数字前加1?

The error I recieve on the phone is: 我在电话上收到的错误是:

FaceTime Failed
+12 3 456 7890 is not aviailable for FaceTime

I understand it wont work but the space will mess the real numbers later on 我知道这行不通,但是以后空间会弄乱实际数字

Try using a test number that doesn't start with 1 -- for instance, 555-555-5555 is valid (and meaningless). 尝试使用不以1开头的测试编号-例如555-555-5555有效(且无意义)。 NANP (US/Canada) phone numbers never start with 1, so the leading 1 is being treated as part of a country calling code. NANP(美国/加拿大)电话号码从不以1开头,因此前导1被视为国家/地区电话代码的一部分。

将国家/地区代码添加到号码1-123-456-7890

you have to remove all space in the string before making facetime call. 您必须在进行Facetime调用之前删除字符串中的所有空间。 example: facetime://+1234567890 例如:facetime:// + 1234567890

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM