iPad: Show view as Model View
- by a111
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