Xcode 7 - How to disable iPhone 6 native resolution? - ios

I want my app only to run in iPhone 4 and iPhone 5 resolution. In Xcode 6, you just needed to delete the Launch Screen file in order to lower the resolution ( How to disable iPhone 6 native resolution?)
However, now if you don't have a Launch Screen, your lower resolution apps will show up with black bars on top and bottom. So to fix this you have to add a Launch Screen Storyboard (iOS 9 Xcode 7 - Application appears with black bars on top and bottom)
Is there any way to run apps on lower resolutions without having these black bars show up?

Related

Top and bottom cut off in iOS simulator [duplicate]

I would like to get some help on how to handle app (storyboard) is set to Universal.
When app run (with a single viewcontroller with a navbar) on a iPhone 5s simulator (with iOS 7.x), a thick black appears on top & bottom
iPhone 5s with iOS 7.x SDK
When switch to iPhone 5.0 with iOS 8.x simulator, no issue.
iPhone 5s with iOS 8.x SDK
Is there any code to fix (remove header & footer) gap in black?
The thick black bars on top and bottom (also known as letterboxing) are because you have no launch image for the 4-inch screen. Add one. Without this, your app is treated as if it were running on a 4s (3.5-inch screen).

Xcode 7.1.1 UINavigationBar does not cover the entire width of the screen with iPhone 6 and above

My app was acting fine till I updated my Xcode. For some odd reason, my UINavigationBar is no longer covering the entire width of the screen for devices iPhone6 and above.
For iPhone 5:
For iPhone 6 and above:
I think you didn't used autolayout. Okay no problem..
Follow below steps:
1. you need to keep it empty on Launch Screen file.
2. Create Launch image source and then add iPhone 6 and 6+ splash screens
Then it will work your navigation bar automatically fit based on device.

Developing in xcode 6, i want it to scale in iPhone 6 devices

i've created a new app in Xcode 6, the size in the storyboard simulates 4 inch screen.
I want that on iPhone 6/6+ devices it will scale up, and not adjust.
I tried to remove the Launch Screen file, it is now scaled, but now i get 2 black stripes in the upper and bottom of the screen.
Please Help. Thanks.

Black bar at the bottom after update to iOS 8

I have an app on the store and I started working on the update for iOS 8 a while ago, everything seemed to work fine except for this problem I'm having with the layouts. No matter what device I test the app on, there's always a black bar at the bottom (or the side on landscape mode).
Test on iPhone 5S
Test on iPhone 4S
Is this an issue with iOS 8? How can I solve it?
I had this same issue with the thin bar along one side when an iOS 8 device was rotated to landscape. I found the solution to this problem here: Building project with Xcode 6 (iOS 8 SDK) causes landscape rotation rendering issue on iPad
The fix I did was to go to MainWindow.xib, select the Window, then go to the Attributes inspector and select the two check boxes for Visible at Launch and Full Screen at Launch.

Change position of image for 3.5 and 4 inch screens

I have an iPhone app that I'm optimising for the iPhone 5's 4-inch screen. I also want it to work with iOS 6. I turned off autolayout to get it to work with iOS 6. I want everything in the view to stay the same distance from the bottom of the screen for both screen sizes. How do i do this?

Resources