How To Push Video on iPhone Simulator?

后端 未结 5 1080
暗喜
暗喜 2020-12-09 23:34

I would like to push a video into iPhone simulator to test video picking in UIImagePickerController. Is it possible to do that? And if it possible, could you please provide

5条回答
  •  -上瘾入骨i
    2020-12-09 23:57

    None of the other methods suggested here worked for me, but I found a way that works on the latest version (6.1) of the simulator:

    1. Start up the simulator and navigate to the photos app from the home screen.
    2. Drag and drop an .m4v file from your file system onto the simulator window. The video will now be playing in safari.
    3. Click "done" in the upper left hand corner.
    4. Click on the "share" button and select "save to camera roll"

    You're done!

提交回复
热议问题