How To Push Video on iPhone Simulator?

后端 未结 5 1085
暗喜
暗喜 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条回答
  •  佛祖请我去吃肉
    2020-12-09 23:50

    Follow the below steps;

    1. /Users/UserName/Library/Application Support/iPhone Simulator/6.1/Media/DCIM/100APPLE
    2. Copy your video file rename it to VID_0001.m4v or VID_0001.mov
    3. Remove PhotoData from /Users/UserName/Library/Application Support/iPhone Simulator/6.1/Media/PhotoData
    4. Restart your simulator, video will show under Saved photos

提交回复
热议问题