UIImagePickerController in an existing UIPopoverCo

2019-06-21 05:55发布

问题:

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.

回答1:

Use setContentViewController:animated: on UIPopoverController



回答2:

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