title: iPhone: ABPeoplePickerNavigationController won't show up properly in UITabBarController
body: <p>I am trying to show up contacts from iPhone contacts book in UITabBarController. I came so far:</p>
  <pre><code>- (void)contacts 
  {
  ABPeoplePickerNavigationController *picker = [[ABPeoplePickerNavigationController alloc] init];
  // place the delegate of the picker to the controller
  picker.peoplePickerDelegate = self;
  
  CGRect newFrame = self.tabBarController.view.frame;
  newFrame.size.height = newFrame.size.height - 49;
  picker.view.frame = newFrame;
  [picker setAccessibilityViewIsModal:YES];
  // showing the picker
  [self.tabBarController presentModalViewController:picker animated:NO];
  }
  </code></pre>
  <p>Calling:</p>
  <pre><code>-(void)viewWillAppear:(BOOL)animated
  {
     [self contacts];
  }
  </code></pre>
  <p>As the result I am getting this:</p>
  <p><img src="https://i.stack.imgur.com/GK7fD.png" alt="enter image description here" /></p>
  <ol>
  <li>I can't see the tabs</li>
  <li>My tabs style is black, but the picker is blue.</li>
  <li>There's the cancel button.</li>
  </ol>
  <p>How to make tabs visible, make style black and get rid of cancel button?</p>
  <p>Thank you in advance.</p>
  <p>EDIT:</p>
  <p>After changing the method:</p>
  <pre><code>-(void)contacts
  {
     ABPeoplePickerNavigationController *picker = [[ABPeoplePickerNavigationController alloc] init];
  picker.peoplePickerDelegate = self;
  picker.navigationBar.tintColor=[UIColor blackColor];
  // Display only a person's phone, email, and birthdate
  NSArray *displayedItems = [NSArray arrayWithObjects:[NSNumber numberWithInt:kABPersonPhoneProperty], nil];
  picker.displayedProperties = displayedItems;
  // Show the picker
  picker.navigationBar.hidden=YES;
  CGRect newFrame = picker.view.frame;
  newFrame.size.height = newFrame.size.height - 49;
  picker.view.frame = newFrame;
  
  [self.tabBarController.view addSubview:picker.view];
  
  }
  </code></pre>
  <p>I've got this result:</p>
  <p><img src="https://i.stack.imgur.com/5sobD.png" alt="enter image description here" /></p>
  <p>Yes the contacts are sitting inside the tab, but now have the problems:</p>
  <ol>
  <li>When I touch the the tableView with contacts, the contacts are disappearing at all.</li>
  <li>When I switch the tabs, the contacts view doesn't go away and I can see it in all the tabs.</li>
  <li>The half of UISearchbar stays hidden.</li>
  </ol>
  <p>Where's the evil now?</p>