Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wrong screenshot size in Xcode 10 using Simulator

I'm trying to make screenshots for iTunes using the Xcode 10 Simulator, but the images are the wrong size.

I have read that Debug > Optimize Rendering for Window Scale would help, but in Xcode there is no such option. Does anyone have this issue?

like image 472
Tadas Stra Avatar asked Nov 14 '18 10:11

Tadas Stra


People also ask

How do I take a screenshot on simulator?

Press PrtScn or PrtSc on your keyboard to capture your view. Then paste that into MSPaint or similar and save it. Press Windows Key and Print Screen button at the same time - this captures and saves your entire screen as a PNG and stores it under C:\Users\<user>\Pictures\Screenshots.

How do you zoom out in Simulation?

To zoom in, press Control and + at the same time. To zoom out, press Control and - at the same time. To get to 100% press Command and 0 at the same time.

Where do iOS simulator screenshots go?

If you take a screenshot from within your app running on the simulator, and then save it to photos app on that simulator, then it is stored in some library folder of that specific Simulator.

How do I change the simulator in Xcode?

Open Xcode and click Menu > Xcode > Preferences > Select Components, and then choose the simulator version you want to download. When a simulator is opened from AppStudio, AppStudio Player automatically installs (if necessary) and opens in it.


1 Answers

With Xcode 10, iphone 8 plus simulator worked for 5.5inch. Then, Iphone Xs Max for 6.5 inch, but this needed the alpha removed, which can be done by opening the image, clicking 'file' > 'export' and unchecking alpha.

like image 101
trees_are_great Avatar answered Sep 22 '22 23:09

trees_are_great