hereを見て、「アドレスプロパティ」セクションを見てください。
あなたが気づくでしょう:
const ABPropertyID kABPersonAddressProperty;
const CFStringRef kABPersonAddressStreetKey;
const CFStringRef kABPersonAddressCityKey;
const CFStringRef kABPersonAddressStateKey;
const CFStringRef kABPersonAddressZIPKey;
const CFStringRef kABPersonAddressCountryKey;
const CFStringRef kABPersonAddressCountryCodeKey;
を私はあなたがレコードの最初の名前取得するには、次のコードを使用していると仮定します。その都市を取得するには
NSString *firstName = (NSString*)ABRecordCopyValue(record, kABPersonFirstNameProperty);
を、次の操作を行います。
NSString *cityName = (NSString*)ABRecordCopyValue(record, kABPersonAddressCityKey);
残りは同様に見つけることができます!