Same Storyboard for different screen Sizes without Auto Layout - ios

I've been using different storyboard for different screen sizes.
Now, I'm updating an old app with only one Storyboard for iPhones and it looks the same appearance as iPhone 5 in different iPhone simulators, without using auto layout. Works well on iPhone6 and 6 plus Simulator.
Can I trust this behaviour or is any simulator bug? Is it due to any Properties project config ?

You must use auto-layout otherwise it will not work 100%. If you enable auto resize subviews option in storyboard view then it might work upto some extent.

I got it... Just not setting any launch screen image for the devices without defined storyboard

Related

How To Fit UITableView in the screen with AutoLayout

I am trying to fill the screen with a TableView. I've tried pinning 4 edges but it broke when I view it in different devices (iPad Pro, iPhone SE, landscape and portrait orientation). The TableView is messed up for some reasons. It shouldn't be this hard to fill that in. Did I messed up some settings in my Xcode?
If you ran the application on a real device you'll find it as you expect it to be.
And if you opened another file then came back to storyboard you'll find the preview as expected too, I think it's a bug in the UI Builder.
Note: I'm using Xcode Version 8.3.2.

How to efficiently use Autolayut and Auto-Resizing in same target?

I have one target. It's a login based application. Because of legacy code, I am forced to use Auto-Resizing in some View Controllers whereas I have updated newer UI using Auto-Layout.
If the Autolayout has to work on iPhone 6 and 7 (4.7"/5.5" screens) I have to add the launch images for these.
PROBLEM:
All my screen that are not using auto layout gets disturbed when I add the Launch image.
If I don't use the launch screen images, all the View that use auto layout are scaled up and appears slightly bigger than expected.
I do not have the luxury to update the legacy code to use auto layout.
Can someone please give me an alternative or a work around.?
If I don't use the launch screen images, all the View that use auto layout are scaled up and appears slightly bigger than expected
Correct. This is because, without the launch screen, your app is no longer compatible with devices like the iPhone 6 and 6 Plus. To compensate, the app is treated as if this were an iPhone 5 and is shown in zoomed mode.
So if you want to run at native resolution / size on iPhone 6 and later, you must have the launch screen. That being so, setting up your interface to deal with the larger size is up to you. You do not have to adopt auto layout; autoresizing still works fine. (However, using auto layout would be better.)

Views in storyboard do not resize properly on iPhone 6

I've checked a lot of different websites and stackoverflow answers, and I'm still stuck.
I developed an app for iPhone and iPad targeting iOS 7.1. I have two storyboards, one for each device. The app only displays in portrait mode. I cannot seem to get the app to display full screen on the iPhone 6 simulator.
I've tried numerous things, I followed the advice linked here by adding a Launch Screen, setting the iPhone storyboard to auto layout and "use size classes", and . Not only does that not affect the size, but the Launch Screen doesn't seem to scale properly either. If I get it to fit the iPhone 6 it doesn't fit the iPhone 5 properly.
I've tried adding the proper launch images and I don't get any errors saying the wrong image resolution is present.
I've used the storyboard as a Launch Screen described here.
Now, when I switched to "use size classes" I could manually extend the objects in the views to match up with the size of iPhone 6 (I have not tested it for 6s) but that makes it extend past the iPhone 5 boundaries. The only thing I can think of right now is to create another storyboard and detect if it's iPhone 6, but I would really like some other ideas.
Here's what it looks like for iPhone 6:
And here's what it looks like on iPhone 5:
Best advice i can give u is
Use default size class , the classic 600x600 and then use Auto Layout
Or do the reverse, take a 3.5inch size VC and apply Auto Layout on it. Everything will present itself quite perfectly if you can apply the right constraints
Here is a link for an awesome Autolayout tutorial

updating iOS5 app to use auto layout and iOS8 baseline

I have an iOS 5 era app that I need to update to "modern" terms to be able to submit an update to the app store. I am shooting for iOS 8 as a baseline using auto layout and size classes.
The base UI is a Tab Bar controller, each tab of which has a UINavigationController as its base.
MainWindow.xib is the main nib file used when opening the app.
I opened all the nibs and checked Use Autolayout and Use Size Classes.
The app runs, but always comes up as a 3.5" phone sized app, even on a 6 Plus (device or simulator). I cannot find any constraints applicable nor any settings in any of the nibs that seem to affect this.
The Tab Bar itself seems stuck at the 3.5" size and I can find no constraints or settings on this. The window and tab bar element themselves in the nib show the generic 600x600 / any-any size.
You need to add launch images for each device size you want to support. That tells iOS that the app actually can be displayed at that size and resolution.
Additionally you will want to add #3x assets for the iPhone 6+.

Storyboard view IOS

Can anyone tell me what I'm doing wrong here :)?
For some reason the view as it is on the storyboard doesn't show the same in the simulator.
Screendumb:
http://s12.postimage.org/qe69tndel/Sk_rmbillede_2013_02_09_kl_20_41_49.png
There might be many problems here including :
1)You are running the project on a 4-inch simulator, but your app probably doesn't have the default-568h#2x image, which is required so your app can be run full-screen on a 4-inch device.
2) If you're using auto-layout, probably the constraints aren't set right.
3) If you're not using auto-layout, probably the auto-resizing masks aren't set right

Resources