Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UIImagePickerController in an existing UIPopoverController

Is there a way to push the UIImagePickerController in an existing UIPopoverController's navigation controller?

What I know is that you have to create a new popover and add the UIImagePickerController in it. But I have an existing popover with its navigation controller that should present the image picker.

like image 895
raheel Avatar asked Jan 07 '11 16:01

raheel


2 Answers

Use setContentViewController:animated: on UIPopoverController

like image 167
tux91 Avatar answered Nov 15 '22 09:11

tux91


I believe the answer is no because the image picker brings its own navigation controller. And nesting two nav controllers does probably not work.

like image 31
Ole Begemann Avatar answered Nov 15 '22 09:11

Ole Begemann