Custom contacts selection in iPhone like in SMS/Email apps
I am creating an app that allows users to select a lis开发者_如何学JAVAt of friends from their contacts list. I can open up the ABPeoplePickerNavigationController, but how can I make the chosen contacts to display like in the image below (the Rosa Golijan part):
Basically, a list of light-blue rounded rect buttons, and you can easily delete one if needed. I guess I can do it from scratch with a bunch of UIButtons or something, but it's a lot of work and can be quite error-prone. Just wondering if any of you knows of some existing sample code or something? Or any advice to push me in the right direction would be appreciated. Thanks.
TITokenFieldView is a control which mimics the "To: field"
Take a Look at TITokenFieldView
精彩评论