Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to display phone book contacts in iphone through coding

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 698
    Comment on it

    The following code will present viewController which will show all the contacts of phone book
    Please do add Addressbook.framework in your code.

    Also import AddressBookUI file to use the following code.

    ABPeoplePickerNavigationController *picker =
        [[ABPeoplePickerNavigationController alloc] init];
        picker.peoplePickerDelegate = self;
    
        picker.modalPresentationStyle = UIModalPresentationCurrentContext;
        picker.modalInPopover = YES;
        [self presentViewController:picker animated:YES completion:nil];
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: