using iphone sdk 3.0 you can tell how to format a UITextField or UITextView so that when a user enters a phone number, it will be formatted so the application-application formats the number, i.e. +1 (888) 465-375 How to do this?
thanks
For UITextView you can use:
[aTextView setDataDetectorTypes:UIDataDetectorTypeAll];
I do not think there is such an option for UITextField.
Source: https://habr.com/ru/post/1308664/More articles:How to insert two different forms on one page in Django - djangoHow to hang up (disconnect, cancel, ..) make a call? - androidHow to transfer a large amount of data using WCF? - silverlightCheck if the field type is the same as the generic type, in java - javaWhat is a good approach for data access layer? - .netviewDidAppear for tab based applications - iphoneJava newbie problem: classes of the same package accessing each other? - javaDDD and entity database, a model using several types of credentials - domain-driven-designCan PHP parse native syntax? - phpIs AsParallel () a good practice in a web environment? - c #All Articles