如何更改ABPeoplePickerNavigationController的外观,以便我可以看到电话号码类型(家庭,移动等) [英] How can I change the look of ABPeoplePickerNavigationController so that i can see phone number type (home,mobile etc)
问题描述
我在我的应用程序中使用ABPeoplePickerNavigationController,但客户希望看到名称前面的电话号码标签说
姓名类型
阿里手机
阿里家庭
是有没有办法定制ABPeoplePickerNavigationController来满足这个要求?
谢谢
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
推荐答案
如果你想根据你的要求自定义地址簿,我建议你不要使用ABPeoplePickerNavigationController 。而不是使用地址簿对象,从地址簿中检索数据并在自定义ViewController中显示这些数据。这样,您就可以以任何方式自定义View。
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.
其次,您无法修改Apple提供的API和框架。
Secondly you cannot modify the APIs and frameworks provided by Apple.
这篇关于如何更改ABPeoplePickerNavigationController的外观,以便我可以看到电话号码类型(家庭,移动等)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!