How can I implement a text box for automatic highlighting, for example, for email addresses on iPhone?

In the iPhone mail application, you can enter several mailing addresses ... and then delete one of them, just click on it and click "Del." How can I implement something like this in my application? I tried to handle clicking on a UITextView, but it seems that the Began tags and associated delegation methods are not involved for this class and its subclasses :(

Any idea?

+3
source share
3 answers

, , mail.app. , UIView, . UITextField . , ( ) UITextField ( ), "", . , . .

+3

Joe Hewitt three20, " ", .

0

This may be useful: Link

TITokenFieldView A control that mimics the To: field in Mail and Messages. Kinda as NSTokenField.

0
source

Source: https://habr.com/ru/post/1704295/


All Articles