Agile Hobo
Agile Hobo

Reputation: 322

Screen content is only shown in a part of screen in iOS Simulator

My iOS Simulator only show the content as a part of the screen. How can I fix it? I'm using XCode 6.3.1. Thanks

Upvotes: 3

Views: 1629

Answers (4)

Richard Taketa
Richard Taketa

Reputation: 11

I am including this response for those, who like me, are seeking an solution for this problem after upgrading to Xcode 8.

The simulator began using only a portion of the display, as described in the question, when testing against iOS 8.x. The symptoms were that 1/4 of the display was showing if the window scale was set to 50%, 1/9 would show if the scale was set to 33%, etc. The entire display would show only if the scale was set to 100%, which is a real pain when using an iPad simulator.

The solution for me was to turn off "Optimize Rendering for Window Scale" under the "Debug" menu, which first seems to have appeared in Xcode 8. The 8.x simulators displayed properly after that.

Upvotes: 1

Antony Raphel
Antony Raphel

Reputation: 2078

Visit for more details:
iPhone Simulator Quarter or Top Left part of the screen[Fixed]

Watch the video from this link: iPhone Simulator - Quarter of the screen [Fix]

Step 1: “Force Quit” the iOS Simulator

Step 2: Open “Spotlight Search” and type “Chameleon Wizard” (if you installed Chameleon Bootloader)

Step 3: In that popup window, click on “org.chameleon.Boot

Step 4: Uncheck display_0, Graphics Mode(Clear that Dropbox also), cpus=1, npci=0x3000, dart=0. Below shows an image with checked items those mentioned here. Just uncheck it all.

Uncheck what already checked Step 5: Restart your Mac and try.

Upvotes: 0

0yeoj
0yeoj

Reputation: 4550

Looking at the image..

I think it has something to do with the resolution/scale of the simulator.. I dont use Xcode 6.3.1 though... since it's 5s the screen resolution/scale is x2.. so instead of 320x568 it must be 640x1136..

why dont you use the device frame rect to fill the screen? something like self.view.frame ?

its hard to guess what causing your problem,show us something that may help.. :)

Upvotes: 0

Samraan Khaan
Samraan Khaan

Reputation: 480

You just need to restart it. It can happen sometimes. Force close simulator and start it again!

Upvotes: 2

Related Questions