IOS simulator displays the application only in a quarter of the screen

Starting from 2 days, when you start the application, the application opens in the emulator 1/4 of the screen size. iPhone 6 and tested it with iPhone 6 Plus ... even at home - a quarter of the size.

"Cleaned up" project, "Reset content and settings" of the iOS simulator. But it has not yet been resolved. screenshot simulator Home screen

Quitting and restarting the simulator did not help. As you can see in the bottom screenshot, zooming in doesn't help.

The problem does not appear in "Xcode 7 Beta 4".

+3


source to share


4 answers


The problem seems to be solved after I installed Xcode 7 beta 5 (next to 6.4) enter image description here



0


source


I am very new to iOS. I had the same problem, here is what I did and resolved



1 - xcode 7.1.1.
2 - In the Inspector file, right panel

3 - In the document << β†’ I selected Xcode 5.1 ; the one I used to program before El Capitan and the new Xcode.

+1


source


Use this key, it might solve your problem.

 ⌘+1 for 100%
 ⌘+2 for 75%
 ⌘+3 for 50%

      

0


source


I have to point out to others first that this is a simulator / Xcode problem and not an application problem, as the simulator also displays the problem when you are in the simulator menu (Apple menu).

Now for the actual workaround, which may take several tries:

1) In the "Menu Bar" simulator (top bar "iOS simulator" next to the Apple symbol for getting out of the car - so not XCode), select the hardware you want to use (eg "iphone 6 hardware") and cross fingers.

2) Wait for the Apple home screen to appear in the simulator:

  • If there is no full screen in the house, then switch to other hardware (anyone can do - you can switch between 6 and 6 plus), wait for the menu to appear, and then return to step 1 (or clearly: you need to switch between hardware and other random equipment until you have a full simulator screen)

  • If home is full screen, skip to step 3, you are now ok and can do your testing (pressing "test" will use the current full screen simulator)

3) Make sure Xcode and simulator are testing / running the same version of "iPhone" (otherwise Xcode will void all your efforts by restarting the new simulator). Therefore, if you managed to make a full screen iPhone 6 plus simulator, make sure that in Xcode β€œiPhone 6 plus” is selected at the top next to the β€œrun project” play button so that Xcode does not restart the simulator for you.

I would say it takes me 30 seconds to 2-3 minutes to get a working simulator this way. If you don't resize often and can leave your simulator open, it really isn't that bad.

(PS: tested and verified at least 10 times)

0


source







All Articles