UIImagePickerController in an existing UIPopoverCo

2019-06-21 06:26发布

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.

2条回答
Luminary・发光体
2楼-- · 2019-06-21 06:30

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

查看更多
迷人小祖宗
3楼-- · 2019-06-21 06:55

Use setContentViewController:animated: on UIPopoverController

查看更多
登录 后发表回答