1
我收到地址簿kABPersonAddressStreetKey
屬性。當有多條街道時,值被串聯成一個字符串。objective-c iPhone通訊錄:kABPersonAddressStreetKey
[addressDict setObject:self.address.street1 forKey:(NSString *)kABPersonAddressStreetKey];
有時我想改變這個屬性與一個新的街道名稱......如何做到這一點,當有多個街道?問題的
例子:
= Address1
=== StreetName1
=== StreetName2
=> 2 streets names
get the line : "StreetName1 StreetName2"
changes in streets names...
save the line will change the address to
= Address1
=== StreetName3 StreetName4
=> 1 street name
but i want
= Address1
=== StreetName3
=== StreetName4
=> 2 streets names
我希望我足夠清楚......
謝謝,我會嘗試這個;-) – 2011-03-10 09:42:56
優秀,這個工程是東西已經一直困擾我幾個月了。謝謝。 – Diziet 2011-12-06 17:48:45