UIImagePickerController 卡在压缩视频上

发布于 2024-09-29 13:39:42 字数 102 浏览 0 评论 0原文

我已经让图像选择器在 ipad 上的弹出窗口中工作,但是当我在模拟器中运行时,当我在选择器中选择视频时,它会说正在压缩,然后卡住了。

什么也没有发生,委托函数永远不会被调用。

I've got the image picker working in a popover on the ipad, but when running in the simulator when I select a video in the picker it says its compressing and then gets stuck.

Nothing happens, the delegate function never gets called.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

神妖 2024-10-06 13:39:42

我找到了一个解决方案 - 它适用于物理设备。我不知道为什么它在模拟器上崩溃,但如果我在 iPad 上运行该应用程序,它就可以正常工作。

I found one solution - it works on the physical device. I dont know why it crashes on the simulator, but if I run the app on my Ipad it works fine.

谁的年少不轻狂 2024-10-06 13:39:42

这是一个较晚的答案,但您可以按照以下过程修复它:转到模拟器硬件菜单并选择电视输出:640x480,然后尝试从 Xcode 运行您的应用程序,然后再次转到模拟器硬件菜单并选择电视输出:已禁用。

It's a late answer but you can fix it by following this procedure: go to the simulator hardware menu and select TV out: 640x480 after that try to run your app from xcode and then again go to the simulator hardware menu and select TV out: Disabled.

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