Screen deformed iOS7 and iOS8 - ios7

I'm trying to compilate the app in iOS 7 and iOS 8
This is the result :
iOS 7 : http://img15.hostingpics.net/pics/710911Capturedcran20141011181204.png
iOS 8 : http://img15.hostingpics.net/pics/304898Capturedcran20141011181211.png
Someone know why ? I never had a problem like that.

Related

Native resolution on iPhone 6, works on simulator but not on device

I'm having some problems enabling native resolution on the iPhone 6 on the actual device itself, when I run in the simulator it runs at native 375x667 (verified by both launchscreen and nslog of viewcontroller size.
2015-04-29 13:24:24.220 aqrew_ios[7851:1294675] ViewController:didLayoutSubviews() - Width=375.000000 Height=667.000000
However when I run the same code on an actual iPhone 6 (iOS8.3) its running at scaled iPhone 5 resolution.
2015-04-29 13:17:02.614 aqrew_ios[720:179633] ViewController:didLayoutSubviews() - Width=320.000000 Height=568.000000
I've been through the SO How to enable native resoltuion and have the following in the LaunchImage assets setup and working, app is portrait only, iphone only:
Launchimage screenshot
AppIcons are:
AppIcon screenshots
(I'm not allowed to post images as on this account (work) I dont have 10 rep points!)
However whilst it works perfectly on the iOS simulator its not working on the real device, would appreciate any ideas....
Thanks
If you go into the device settings app, in the 'display & brightness' section there is a setting called 'display zoom' which can be set to standard or zoomed. When zoom is enabled an iPhone 6+ scales up an iPhone 6 sized window, and an iPhone 6 zooms up an iphone 5 sized one.
(This caused me some stressful hours a couple months ago)

Xcode 6.2 does't recognise iphone 6 in [[UIScreen mainScreen] bounds].size.height == 667)?TRUE:FALSE

I can't identify My iPhone 6 size in Xcode 6.2.
In first image I run in iPhone 6 and in command output line
"po self.view.frame" return iphone 5 size.
This problem return only with iphone 6 , I tested it with different iPhones 6 devices
I launch images for the iPhone 6 and 6 plus like they called "Retina HD 5.5" and "Retina HD 4.7 .
When I run this app in iphone 6 simulator this work fine.

updating app for iphone 6

So in trying to update my currently iOS 7 application that was created with the old Xcode 5 storyboard to be optimized for the iPhone 6, I'm running into some issues. I read that it's necessary to add the launch images for the iPhone 6 and 6+ in order for it to properly size the views.
I was able to convert an app created for iOS 7 inside Xcode 6 with the new storyboards and it was simply a matter of adding those launch images.
I tried adding the launch images to the former application and upon launch of any device, Xcode crashes. So I went into the storyboard, and converted the whole thing to the new storyboard format. Added the launch images again and it's still crashing.
Any suggestions?

App runs in iPhone 4 size on iPhone 5 Simulator and Device

When I run my app from Xcode 5.0.2 on an iPhone 5 simulator or device, it runs it at the iPhone 4 height although I already specified 4" screen in Storyboard.
Can't attach an image because of lack of reputation, but there is black space on top and bottom of the app while running.
You need to add a correctly sized (1136x640) splash screen image file, named "Default-568h#2x.png".
More info can be found in this related question.
When you build your app, on the top left it should say iPhone Retina (3.5-inch). Change it to iPhone Retina (4-inch)

iOS Simulator in Xcode

I think that in my storyboard file in xcode that it has me using an iPhone 5 display, but when i load the simulator, i think it is an iPhone 4 display. So the view doesn't look the same. Does anyone know how to use an iPhone 5 display as my Simulator?
From the iOS simulator menu
Hardware -> Device -> iPhone (Retina 4-inch)
EDIT
The device looks like this
I guess you are right. For some reason they just don't have the actual visual presentation of the iPhone 5 in the simulator yet.. Hopefully they will soon though! that would be cool!