App Not Sized Properly iOS 8 iPhone Simulator

App not sized properly iOS 8 iPhone simulator

You need to include Launch Images for all the resolutions you want to support. Default is only 640 x 960. If you include an image with the resolution of 640 x 1136 as a launch image you will support iPhone5. For iPhone6 and 6Plus include launch images in the correct size. See https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html

Adjusting the Xcode iPhone simulator scale and size

You can't have 1:1 ratio.

However you can scale it from the iOS Simulator > Window > Scale menu.

iPhone simulator screenshot is not in proper dimension

If you want to scale simulator down, say 50%, and still get screenshots in proper dimensions, disable "optimize rendering for window scale" in debug menu of simulator. Sample Image

Xcode 6 GM iPhone 6 Simulator - Storyboards not sizing correctly, appear zoomed in

This is the default and this is how all existing apps will work on the new iPhones - they will be "zoomed".

To make an app that actually uses the extra screen size you must, like with the 4" iPhones, add specific launch images specific to the two iPhone 6's.

If you are using asset catalogs, go to the LaunchImages asset catalog and add the new launch images for the two new iPhones. You may need to right-click and choose "Add New Launch Image" to see a place to add the new images.

In addition, using a Launch Screen xib file instead of images solves this problem right away and it's the recommended way moving forward. Here are the steps to add a Launch Screen to your app: https://stackoverflow.com/a/25763870/422288

View controller frame.height and frame.width are swapped for iOS 8

As pointed by the user nyekimov, it's a new behavior of iOS 8.
There was something related in WWDC 2014 Session 214.
Hope this reference helps :)
To solve the problem I just added a verification of iOS 8 and iPad and swapped the width with height.
(I just got this problem on iPad, that's why I made only for it)

Good luck ! :D

UIScreen.mainScreen is the same size on all devices

Did you add launch images for the iPhone 6 and 6 Plus devices? Otherwise it will run scaled in these resolutions (and the [[UIScreen mainScreen] bounds] call will return the bounds as if running in a 4-inch device).

Screen size is wrong on iPhone 6/iOS 8.3?

I'm guessing that your iPhone 6 is in zoomed mode, as described here:

https://support.apple.com/en-us/HT203073

In that mode, the iPhone 6 effectively thinks it is an iPhone 5 for display purposes (and communicates an iPhone 5-sized screen environment to all apps).

xcode iphone simulator view smaller than storyboard

Your simulator is proper. No need to resize it.

You only need to follow these steps

 1. go to nib/storyboard.
2. click on view
3. check menu on right side
4. go to 4th tab
5. Expand Simulated Metrics
6. Check Status bar is equal to Default
7. Top Bar & Bottom Bar are equal to None & None respectively.

Enjoy Programming!

Unable to start my application in full screen on iPhone 6.0 Simulator Retina 4 Inch

Make sure that key window has proper size. Workaround is to set proper frame: [window setFrame:[[UIScreen mainScreen] bounds]].

Update:

It is difficult to guess where is the problem without having the source code.
I've created simple app stub to test interface orientation for iPhone4/iPhone5. I just created new "Single View Application", added some subviews to the root view, and added "Defaults" images. I did it in Xcode 4.3.2 without any extra features of Xcode 4.5. And app automatically stretches its screen to proper size (for both portrait/landscape orientations).



Related Topics



Leave a reply



Submit