Where do iOS Simulator screen recordings go? - ios

Sorry if this is obvious, but where do iOS Simulator screen recordings go? They are not on my Desktop.
I accidentally started a screen recording and it recorded for like an hour before I stopped it. I'd like to delete that file but I can't find any indication on where that video file is getting stored and Google has been no help.

to record a video in IOS Simulator.
Open File menu > Record Screen or ⌘ - command + R .
Simulator saves screenshot file on (logged-in user's) desktop and it's the default path.
To change the default path (with Xcode 9+), press and hold ⌥ the Option (alt) button from the keyboard, while you take a screenshot.
Or
Using Mac Keyboard: Press keys ⌥ Option + ⌘ + s altogether.
It will show a dialog with file storage options and also allows to set/change the default path.

Related

Can't view a realm file on Realm Studio

When I go to the folder that has my default.realm file and open that file with Realm Studio application, I don't see the actual window and instead see a slim line like that shown in the picture attached.
When I do click the slim line, the application doesn't open a window and instead just chooses to show nothing instead. I tried uninstalling and reinstalling Realm Studio application, but the same problem persisted.
Does anyone know why I am experiencing this glitch?
Update: The version of Realm app is Realm Studio 10.1.2 and my macOS version is Big Sur 11.4. If you want to duplicate the issue, first open your realm file with Realm Studio and hit that green circle on the title bar to make it full screen. Then hit the red circle to exit the window. Open the same file with Realm Studio again and it will open in full screen mode by default. Then double click the title bar and you will see your window disappear to the corner of your screen. At this point, you will be unable to see your realm file even after you click "Show All Windows" by right-clicking on the Realm Studio application icon. The fix is to go to the menu bar on the top and select Windows > Zoom. This will bring your realm file window back to your screen.
As explained by #Junsu:
The fix is to go to the menu bar on the top and select Windows > Zoom.
This will bring your realm file window back to your screen.

Vlc player is always fullscreen on a specific folder

I run windows 8 right now, and when I open a vlc file from this folder, it automatically fills up my entire screen? When I open a file from another folder, its smaller and how I want it. Also, I have to manually resize vlc each time, and then when I open another file in the same folder, it's back to full screen again. I don't know why this is hapenning in a SPECIFIC folder. How do I make it so that its not fullscreen
I would bet that your media is a higher resolution in that folder. VLC automatically shows media at it's full resolution, so I don't think you can do much about this.

How can I paste stuff from my mac's clipboard to the iPhone simulator?

I'm having a really hard time taking screenshots.
My app has a view controller that lets the user enter some information with a few UITextFields. I am now taking screenshots of this view controller so that I can upload them to iTunes Connect.
Obviously, I can't just leave the text fields blank and take a screenshot, because that tells the user little information about how he/she is supposed to do.
Therefore, I need to enter some dummy texts. But they cannot be
njndsfiusbfiksbksug
because it makes no sense and does not show the user what that text field is for.
So I have to enter some really long texts in there in order to show the user a good example of how to use the app.
Now here comes the problem, I have to take screenshots of 5 device sizes and 3 localizations. This means that I will spend a lot of time entering the same old text into the iPhone over and over.
Then I thought that I can type the dummy texts into the Stickies app on my Mac, and copy/paste that text from my Mac to the iPhone simulator. So I pressed ⌘ + C in the Stickies app, and ⌘ + V in the iPhone, but nothing happens at all.
I think this is because the iPhone has its own clipboard.
How can I copy text from my Mac to the iPhone simulator?
Note: when the user is using the app, he/she can choose not to enter long texts. I'm just doing this to show a good example to the user. So don't tell me my app sucks.
You have to use ⌘+V when inside the simulator, then click on a field and tap Paste.

xcode 6 simulator doesn't show home button [duplicate]

I am creating a game in Xcode-6-GM-Seed and am having an issue that the home button is not showing up in the simulator.
I need to be able to press the home button to be able to quickly delete the app from the phone but am not seeing the home button.
How do I get around this? Is there some sort of command to use or do I need to do it programmatically until they add the home button? Is there another way to delete the app and it's content?
Use Command + Shift + H for pressing Home button.
You can also choose "Reset Content and Settings" to erase the App.
As mentioned above, shift+command+h is how you should trigger the home button to get to SpringBoard.
If you need to uninstall an app, you can also do that from the command line via simctl:
xcrun simctl uninstall booted com.mycompany.myapp

How to launch Appium test with a certain language keyboard on iOS simulator

I am running tests which require having different keyboards open while typing throughout the app. I want to be able to run a test that perhaps launches a script that changes the default language before the test begins. I know you can run scripts which do similar things to change the state of the simulator however I cannot find where the keyboard settings are located.
I spent some time trying to figure this one out.
Here's what I've got for you:
To use different keyboards, you need to tell manually the Simulator which languages you plan on using when you type.
From then on, whenever the keyboard is up, there will be a UIAKey named Next Keyboard that looks like a Globe.
Do a long press on it to get an action sheet open with all the different languages, or click it once to cycle through the keyboards.
Step-by-step:
Go into System Preferences on the simulator
Click on General
Click on Keyboard
Click on Keyboards
Click on Add New Keyboard...
Select (Language)
Close the Simulator
Open your app
Click on a Textfield
See the Globe Button
Click the Globe Button
Keyboard should now be in (Language)

Resources