Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Resizable iPhone simulator doesn't work

I recently wanted to use the brand new "Resizable iPhone simulator" to test my app in different screen resolution (with next iPhone it should change so...).

Anyway, each time I change the width and height values, nothing happens... And I can't enter values up to 768x1024.

Moreover, the spring board looks like iPad simulator more than iPhone. (And same with resizable iphone simulator). I know it's still a beta so I expect bug, but here it seems totally useless and broken. So maybe it's just with me.

Anyone have same issues, ou get a functional resizable simulator ?

like image 747
Tancrede Chazallet Avatar asked Jun 16 '14 12:06

Tancrede Chazallet


People also ask

How do you enable simulation on iPhone?

To launch a Simulator without running an appChoose Xcode > Open Developer Tool > Simulator. Control-click the Xcode icon in the Dock, and from the shortcut menu, choose Open Developer Tool > Simulator.

How do I make iOS simulator smaller?

Just pick & drag any corner of simulator to resize it and set it according to your requirement. Note: With Xcode 9.1+, Simulator scale options are changed.

How do I debug iPhone simulator?

You'll need to go to Settings > Advanced and check the Show Debug Menu option. Then you'll see the option to open the web inspector for the Simulator right from that menu. With the Web Inspector open, you can debug inside the Simulator just like you could right in a desktop browser with DevTools.

How do you refresh iPhone simulator?

ctrl+cmd+z. Pause . 5 seconds for menu to appear. Click the reload button image.


1 Answers

I thought the resizable simulator in Xcode 6 beta wasn't working on mine either but I figured out what I was doing wrong and perhaps others might find it useful too.

The simulator works using 'point values' - e.g. the 4in resolution is 640x1136 but the simulator sees this as 320x568. So if you wanted to try out the rumoured 828x1472 resolution suggested by 9to5mac for example, you would put a width of 414 and height of 736 and then apply it to the simulator.

This works perfectly for me!

like image 176
staticnz Avatar answered Oct 12 '22 21:10

staticnz