UIImagePickerController 卡在压缩视频上
我已经让图像选择器在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我找到了一个解决方案 - 它适用于物理设备。我不知道为什么它在模拟器上崩溃,但如果我在 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.
这是一个较晚的答案,但您可以按照以下过程修复它:转到模拟器硬件菜单并选择电视输出: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.