简体   繁体   English

在CNContactViewController中显示电话号码

[英]Show phone numbers in CNContactViewController

Is it possible to make CNContactViewController show the contacts' phone numbers along with their names? 是否可以使CNContactViewController显示联系人的电话号码及其姓名? I looked it up but couldn't find anything about this. 我查了一下,但是找不到任何东西。

CNContactViewController is native view controller. CNContactViewController是本机视图控制器。 You cannot change any thing in it. 您无法更改其中的任何内容。 What you can do is to access all the contacts from contact book along with their phone numbers and show it in your own table view controller 您可以做的是从通讯录中访问所有联系人及其电话号码,并将其显示在您自己的表视图控制器中

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM