现有 UIPopoverController 中的 UIImagePickerController

发布于 2024-10-11 01:50:31 字数 162 浏览 13 评论 0原文

有没有办法将 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

回首观望 2024-10-18 01:50:31

UIPopoverController 上使用 setContentViewController:animated:

Use setContentViewController:animated: on UIPopoverController

薄荷港 2024-10-18 01:50:31

我相信答案是否定的,因为图像选择器带有自己的导航控制器。并且嵌套两个导航控制器可能不起作用。

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文