im using addressbook fetch data , populate vcontroller. ive gotten of values far, names, email, telephone etc. im stumped twitter user name. how string ab , put variable?
read abperson reference , found that:
code:
social profile keys keys used specify different fields in kabpersonsocialprofileproperty property (a multivalue property of type kabmultidictionarypropertytype). neither developers nor users can add more keys. const abpropertyid kabpersonsocialprofileproperty; const cfstringref kabpersonsocialprofileurlkey; const cfstringref kabpersonsocialprofileservicekey; const cfstringref kabpersonsocialprofileusernamekey; const cfstringref kabpersonsocialprofileuseridentifierkey; mean need say: [code] const abpropertyid kabpersonsocialprofileproperty = twitter
and then
code:
myname = const cfstringref kabpersonsocialprofileusernamekey
which dictionary guess be
code:
if (kabpersonsocialprofileproperty = twitter) objectforkey:kabpersonsocialprofileusernamekey
something that?
Forums iPhone, iPad, and iPod Touch iOS Programming
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
No comments:
Post a Comment