Tancrede Chazallet
Tancrede Chazallet

Reputation: 7245

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 ?

Upvotes: 5

Views: 3839

Answers (4)

mems
mems

Reputation: 1254

Resize function not work as if iOS Simulator has resizable window:

Important

The iOS Simulator window resizes only a third-party app, not the Home screen or any app that ships with iOS.

iOS Simulator User Guide: Getting Started in iOS Simulator

You need to open your app to see changes.

Upvotes: 0

Andrew Smith
Andrew Smith

Reputation: 2929

However it seems odd, and not like the hardware, that bounds still returns 1024x768 even though the frame size can be set smaller.

Upvotes: 0

staticnz
staticnz

Reputation: 491

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!

Upvotes: 11

ujell
ujell

Reputation: 2792

It's known bug which is documented in Xcode Release Notes and probably will be fixed in the next update.

Upvotes: 4

Related Questions