Nick
Nick

Reputation: 9850

Simulator running in scaling mode for iPhone 6 Plus?

My app starts and runs on the new iPhone 6 Plus (or iPhone 6) in the simulator, but elements that I know are supposed to be small on the big screen (i.e. hard coded CGRects) are large, as if the whole app had just been scaled up for the larger screen.

How can I get out of scaling mode in the simulator?

Upvotes: 13

Views: 11437

Answers (4)

brian.clear
brian.clear

Reputation: 5327

use Asset Catalog Creator from mac app store.

https://itunes.apple.com/gb/app/asset-catalog-creator-app/id809625456?mt=12

give it any image and it will generate all the correct launch images and icons in a xassets file.

This should stop the scaling of the whole app on iphone 6+

Upvotes: 0

Narek Safaryan
Narek Safaryan

Reputation: 140

You must set correctly sized LaunchImages
For more information about LaunchImages and icons see this documentation

https://developer.apple.com/library/IOs/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html

Upvotes: 1

E. Rivera
E. Rivera

Reputation: 10938

Adding a correctly sized LaunchImage seems to be enough (setting an incorrectly sized image won't).

Also adding the new "Launch Screen File" should work:

enter image description here

Upvotes: 8

s4y
s4y

Reputation: 51675

It looks like setting a launch screen file in the "App Icons and Launch Images" section of your project settings, or adding iOS 8 images to your launch image catalog, will enable "native" resolution.

Upvotes: 19

Related Questions