Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add video to iphone simulator

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!

like image 608
Rani Avatar asked Jun 16 '11 11:06

Rani


People also ask

How do I get iOS simulator video?

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.

How do you use the iPhone simulator app?

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.


2 Answers

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. :)

like image 97
New Coder Avatar answered Oct 04 '22 19:10

New Coder


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.

enter image description here

Step 2: iOS simulator opens up safari to play the video file.

enter image description here

Step 3: Click on the share icon to get the Save Video option in the action's list.

enter image description here

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.

like image 43
Satheesh Avatar answered Oct 04 '22 19:10

Satheesh