How to validate US format phone number in Swift?

PC-to-Phone calls? Yahoo Messenger - Format wrong with number?

  • I've recently purchased the voice out service from Yahoo out. I had no trouble calling my ex-boyfriend in the UK, but now that I'm trying to call a friend here in the US, it's not working. I think I must be formatting the number incorrectly. My current format is: +1xxxxxxxxxx That's basically +1 (area code) (local 3 digits) (local 4 digits) I tried without the +1. No luck. I tried without the +. No luck again. Can anyone help?

  • Answer:

    Hello, I have the yahoo out service and i just dial the area code and the number no matter where I call in the U.S.. There have been a few times that the service would not let me make a call, but it was a glitch in the service it was not anything I did. Maybe the service was having a problem and you should try again. Good luck.

xdelcatt... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.