Can anyone tell me how to add video the iPhone simulator so that I can test some apps I am working on? Thanks in advance!
Recording Videos in Simulator To record a video, open the simulator and go up to the simulator menu. Choose File > Record Screen. Alternatively, you can simply press command-R to start the recording.
To run your app in Simulator, choose an iOS simulator—for example, iPhone 6 Plus, iPad Air, or iPhone 6 + Apple Watch - 38mm—from the Xcode scheme pop-up menu, and click Run. Xcode builds your project and then launches the most recent version of your app running in Simulator on your Mac screen, as shown in Figure 1-1.
It's very simple you just drag any .MOV file to your simulator. Now it will be opened in Safari browser. At top left corner there is a 'Done' button. You just have to press it after this you can press Share button then just choose the option save video and it's done. Now play it in your app. :)
I did the same as you do with images, drag dropped the video onto the iOS simulator not just photo's app but any app can be running on it at the time you drag drop.
Step 1: Drag drop.
Step 2: iOS simulator opens up safari to play the video file.
Step 3: Click on the share icon to get the Save Video option in the action's list.
But clicking on Save Video action for so many times nothing happens and nothing gets added to the albums. Any ideas? Even tried copy pasting the video file to the simulator's DCIM path.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With