IOS 5 Recipes: A Problem-Solution Approach by Shawn Grimes & Colin Francis

IOS 5 Recipes: A Problem-Solution Approach by Shawn Grimes & Colin Francis

Author:Shawn Grimes & Colin Francis [Grimes, Shawn & Francis, Colin]
Language: eng
Format: epub
Tags: Computers, Operating Systems, Programming, Apple Programming, MacIntosh
ISBN: 9781430240051
Publisher: Apress
Published: 2012-02-24T05:00:00+00:00


CFRelease(dictionary);

CFRelease(cityKey);

CFRelease(stateKey);

}

else

{

self.cityLabel.text = @"...";

self.stateLabel.text = @"...";

}

Finally, you can dismiss your modal view controller, as well as add your return value for this method. As a whole, your method should look like so:

-(BOOL)peoplePickerNavigationController:(ABPeoplePickerNavigationController

*)peoplePicker shouldContinueAfterSelectingPerson:(ABRecordRef)person

{

self.firstLabel.text = (__bridge_transfer NSString *)ABRecordCopyValue(person,

kABPersonFirstNameProperty);

self.lastLabel.text = (__bridge_transfer NSString *)ABRecordCopyValue(person,

kABPersonLastNameProperty);



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.