[iOS筆記] AddressBook 的 recordID

之前用到 Address Book 的時候就有聽說,一旦使用 Mobile Me 同步過之後,聯絡人的 recordID 就有可能會重新洗牌。(想來那個“同步”的方法是毀滅和再生啊,囧)當時因為要做的功能並非需要常時間保持資料的正確性,取得資料後讓 app 記住需要的資料,姓名電話 email 等等,然後就當做 dead link了,對使用者並不會有太大的不便。但現在碰到需求是真的要讓 address book 的聯絡人加上各種額外的資訊,這下 dead link是不能滿足需求的。於是再度抱著希望搜尋,想說 iCloud 是新的,應該沒有這麼蠢吧。我說,就是這麼蠢! 最新的情報告訴我們,沒有任何可以保證不會被 sync 變動的 uuid 存在…落落長的英語抱怨文在此:

AddressBook record identifiers on Mac and iOS

用名字去反比對基本上是更蠢的做法,雖然我很討厭 app 去污染系統通訊錄,不過看來唯一解只有在通訊錄中增加客製化欄位一途了。(嘖,這種 app 我自己才不用咧,我討厭污染…)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>