Adding ABPeoplePickerNavigationController as a subview

Discussion in 'iPhone' started by arunarora, Jun 12, 2009.

  1. arunarora macrumors newbie

    May 26, 2009
    I want to add ABPeoplePickerNavigationController as a subview on my screen of an iphone application.

    I have added as:
    picker = [[ABPeoplePickerNavigationController alloc] init];
    picker.peoplePickerDelegate = self;
    [self.pickerview addSubview:picker.view];
    where pickerview is a UIView pointer on the screen to add the subview.

    I tried it using "presentModalViewController:" and it is working perfectely, but in this way it covers the whole screen , and my requirement is to add it on my screen as a subview like a table.

    can anybody help?
  2. alFR macrumors 68020

    Aug 10, 2006

Share This Page