How can I change the look of ABPeoplePickerNavigationController so that i can see phone number type (home,mobile etc)

让人想犯罪 __ 提交于 2019-11-28 08:33:49

问题


I am using ABPeoplePickerNavigationController in my app ,but client wants to see label of phone number infront of name say "Name number type" Ali mobile Ali home is there a way to customize ABPeoplePickerNavigationController to fulfill this requirement? thanks


回答1:


If you want to customize the address book according to your requirements, I suggest you should not use ABPeoplePickerNavigationController. Instead of that make the use of Address Book object, retrieve data from your address book and display those data in your custom ViewController.In this way you will be able to customize your View in whichever way you want.

Secondly you cannot modify the APIs and frameworks provided by Apple.



来源:https://stackoverflow.com/questions/4688072/how-can-i-change-the-look-of-abpeoplepickernavigationcontroller-so-that-i-can-se

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