UIImagePickerController坚持压缩视频 [英] UIImagePickerController stuck at compressing Video

查看:92
本文介绍了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.

推荐答案

我找到了一个解决方案 - 它适用于物理设备。我不知道为什么它会在模拟器上崩溃,但是如果我在我的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.

这篇关于UIImagePickerController坚持压缩视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆