Sunday, 15 May 2011

ios - discoverAllContactUserInfosWithCompletionHandler returning multiple records for same user? -



ios - discoverAllContactUserInfosWithCompletionHandler returning multiple records for same user? -

when invoke discoverallcontactuserinfoswithcompletionhandler: returned array of ckdiscovereduserinfo has 3 distinct userrecordids these person same firstname + lastname. 3 userrecordids share same recordname differ zoneid. best can figure same person 3 'icloud' email addresses: icloud.com, me.com, mac.com. presenting 3 in app's ui non-starter given indistinguishable.

is there reason take 1 of multiple records on another? presumption indeed different icloud mail service addresses correct? can go userrecordid email?

[i know email accounts; presumably query discoveruserinfowithemailaddress:completionhandler , correlate results myself.

the recordname part matters here, it's odd userrecordids have different zoneids. should in default public zone, might hitting bug. zone ids seeing?

if have pick 1 record id, go 1 in -[ckrecordzone defaultrecordzone]

ios cloudkit

No comments:

Post a Comment