title: iPhone ABPeoplePickerNavigationController - How to select two single entries of two different multivalue properties of a person from Addressbook
body: <p>I'm near desperation as I search for a solution for weeks now.</p>
  
  <p>The Problem is simple: </p>
  
  <ul>
  <li>Via the ABPeoplePickerNavigationController (as a ModalView), a person should be selected.</li>
  <li>Then only (e.g.) the Mail addresses should be shown and the user should select one.</li>
  <li>After selection of a Mail address just the (e.g.) phone numbers should be shown and the user should select one.</li>
  </ul>
  
  <p>The solution until the third aspect is well-known:</p>
  
  <pre><code>- (IBAction)importFromAddressBook 
  {
      ABPeoplePickerNavigationController* picker = [[ABPeoplePickerNavigationController alloc] init];
      picker.peoplePickerDelegate = self;
      [self presentModalViewController:picker animated:YES];
      [picker release];
  }
  
  - (void)peoplePickerNavigationControllerDidCancel:(ABPeoplePickerNavigationController *)peoplePicker 
  {
      [self dismissModalViewControllerAnimated:YES];
  }
  
  - (BOOL)peoplePickerNavigationController:(ABPeoplePickerNavigationController*)peoplePicker 
        shouldContinueAfterSelectingPerson:(ABRecordRef)person 
  {
      [peoplePicker setDisplayedProperties:[NSArray arrayWithObject:[NSNumber numberWithInt:kABPersonEmailProperty]]];
      return YES;
  }
  
  - (BOOL)peoplePickerNavigationController:(ABPeoplePickerNavigationController *)peoplePicker
        shouldContinueAfterSelectingPerson:(ABRecordRef)person
                                  property:(ABPropertyID)property
                                identifier:(ABMultiValueIdentifier)identifier 
  {
      //===PROBLEM=== Now I do have a mail address and I want to have a phone number right afterwards.
  
      //Something like this would be straightforward, but the view does not change this way:
      [peoplePicker setDisplayedProperties:[NSArray arrayWithObject:[NSNumber numberWithInt:kABPersonPhoneProperty]]];
      //Here misses the important code.
  
  
      //And only when I also got a phone number through this or a similar method I want to call:
      [peoplePicker dismissModalViewControllerAnimated:YES];
  
      //I do not want to start default behaviour with the mailaddress and/or phone number:
      return NO;
  }
  </code></pre>
  
  <p>The right approach seems to push a similar peoplePicker View on the NavigationController of the ModalView, but I don't know how.</p>
  
  <p>If anyone had any idea it would be great!</p>
  
  <p>If you want to see such a behavior in action you can have a look at the Amazon app: If you go through the first steps of an order you can select a shipping address exactly this way: From Contact List -> Select a Person -> Select an Address -> Select a Telephone number.
  There, everything (seems to) take place in the modal view with just a navigation hierarchy with one more level than in the standard code shown above.</p>