简体   繁体   中英

FaceTime number has space

I am getting this strange behavior when making a Facetime call. The number is just a test number (123-456-7890) but the way it reads in Facetime is +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?

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). NANP (US/Canada) phone numbers never start with 1, so the leading 1 is being treated as part of a country calling code.

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

you have to remove all space in the string before making facetime call. example: facetime://+1234567890

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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