现有 UIPopoverController 中的 UIImagePickerController
有没有办法将 UIImagePickerController 推送到现有 UIPopoverController 的导航控制器中?
我所知道的是,您必须创建一个新的弹出窗口并在其中添加 UIImagePickerController。但我有一个现有的弹出窗口及其导航控制器,应该显示图像选择器。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在
UIPopoverController
上使用setContentViewController:animated:
Use
setContentViewController:animated:
onUIPopoverController
我相信答案是否定的,因为图像选择器带有自己的导航控制器。并且嵌套两个导航控制器可能不起作用。
I believe the answer is no because the image picker brings its own navigation controller. And nesting two nav controllers does probably not work.