iPad: Show view as Model View

Posted by a111 on Stack Overflow See other posts from Stack Overflow or by a111
Published on 2010-04-03T05:57:33Z Indexed on 2010/04/03 6:03 UTC
Read the original article Hit count: 509

Filed under:
|
|

hi all, i want to show my view as a model view. In iPad there are four method to show the view as modal which is listed 1. Full Screen 2. Page Sheet 3. Form sheet 4. Current Context

i use following code to display the view as model

-(void)OpenContactPicker {                                   
    ABPeoplePickerNavigationController *ContactPicker = [[ABPeoplePickerNavigationController alloc] init];
    ContactPicker.peoplePickerDelegate = self;
    [self presentModalViewController:ContactPicker animated:YES];

    //[self.modalViewController presentModalViewController:ContactPicker animated:YES];
    [ContactPicker release];
}

above code open the view in full screen mode but i want to some different.

Please suggest how can i show this view as Page Sheet or Form sheet or Current Context

© Stack Overflow or respective owner

Related posts about ipad

Related posts about model