Creating a UITextField that works like the iOS Mail's “To” field

老子叫甜甜 提交于 2019-12-03 20:25:17

问题


In iOS's Mail app, when you enter in the email of someone who is in your contact list it formats the text in an interactive bubble. I can't seem to find any obvious way to do this, and it's exactly what my app needs to do, and I'm not even sure where to start.

Any pointers to where to look would be appreciated!


回答1:


Looks like a duplicate of Is there an iPhone equivalent to the NSTokenField control?

Short answer, no, nothing public. But there are 3rd party implementations, like TTPickerTextField class in http://joehewitt.com/post/the-three20-project/.



来源:https://stackoverflow.com/questions/3915737/creating-a-uitextfield-that-works-like-the-ios-mails-to-field

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!