UIImagePickerController in an existing UIPopoverController

独自空忆成欢 提交于 2019-12-10 14:49:14

问题


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.



来源:https://stackoverflow.com/questions/4627498/uiimagepickercontroller-in-an-existing-uipopovercontroller

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!