我正在使用 ABPersonViewController 来显示来自手机联系人的信息。在 iOS6 中它工作正常,我看到了所有的字段。
然而,在 iOS 7 中,只显示名称,而不显示电话号码和地址等其他字段。我需要做什么才能使其他字段显示在 iOS 7 中?
我正在使用 ABPersonViewController 来显示来自手机联系人的信息。在 iOS6 中它工作正常,我看到了所有的字段。
然而,在 iOS 7 中,只显示名称,而不显示电话号码和地址等其他字段。我需要做什么才能使其他字段显示在 iOS 7 中?
I was having issues with this as well. Once I set the addressBook property on the ABPersonViewController, it starting working as I expected.
addressBook Optional. The address book from which to obtain the contact to display. @property(nonatomic, readwrite) ABAddressBookRef addressBook