How do i format or create a UITextField (using Xamarin/C#) which allows phone number entry as "(xxx)xxx-xxxx"
The parentheses and the hyphen can be dynamic or static. Not very rigid on that. I could create three different UITextFields for the 3-part phone and have labels for "(", ")", and "-";but that doesn't look like a good way of doing this. Would rather do it correctly than hack it.
Any suggestions or ideas? There must be a better way. I found this: UITextField for Phone Number
but i don't understand objective-c. Maybe someone can help translate, if that is the solution i.e. I have the regex part covered.