简体   繁体   English

如何更改ABPeoplePickerNavigationController的外观,以便查看电话号码类型(家庭,移动电话等)

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

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? 我在我的应用程序中使用ABPeoplePickerNavigationController,但客户端希望看到名称前面的电话号码标签说“名称号码类型” Ali mobile Ali home是否可以自定义ABPeoplePickerNavigationController来满足此要求? thanks 谢谢

If you want to customize the address book according to your requirements, I suggest you should not use ABPeoplePickerNavigationController. 如果要根据需要自定义通讯簿,建议您不要使用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. 不用使用通讯簿对象,而是从通讯簿中检索数据并在自定义ViewController中显示这些数据。这样一来,您将能够以任意方式自定义View。

Secondly you cannot modify the APIs and frameworks provided by Apple. 其次,您不能修改Apple提供的API和框架。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何更改ABPeoplePickerNavigationController的UINavigationBar的颜色? - How can I change color of UINavigationBar of ABPeoplePickerNavigationController? 如何在 INSendPaymentIntent 中选择电话号码 - How can I choose phone number in INSendPaymentIntent 我可以使用重要的位置更改服务来跟踪手机的最新位置吗? - Can i hook into significant location change service so that i can track a Phone latest location? 如何删除“0”占位符<input type="“number”">在移动 Safari 中? - How can I remove the “0” placeholder from <input type=“number”> in Mobile Safari? 如何将按钮添加到导航控制器工具栏,以便可以在所有视图中看到它们 - how can i add buttons to my navigation controller toolbar,so that i can see them in all views 如何获得pf前缀电话号码? - How can i get prefix pf phone number? 如何在AddressBook中访问电话号码标签 - how can I access the label of phone number in AddressBook IOS如何验证输入的电话号码实际上是用户电话号码? - Ios how can I verify that the phone number entered is actually the users phone number? 在iPhone上,如何每天检查一次,是否应该回家? - On iPhone, how do I check once per day to see if i should phone-home? iPhone Dev - 我在滚动视图中有一些文本视图。 我可以在我输入它们时让它向上滚动(这样我总能看到我在输入什么)吗? - iPhone Dev - I have some textviews inside a scrollview. Can I make it scroll up as I type into them (so I can always see what I'm typing)?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM