UIImagePickerController stuck at compressing Video

我只是一个虾纸丫 提交于 2019-12-01 15:52:51

问题


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.


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/4025139/uiimagepickercontroller-stuck-at-compressing-video

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!