UIView scaling between iOS devices - objective-c

I'm fairly new to using the auto layout in the storyboard, so I was wondering if I could get some help as to why my UIViews seem to be scaling to many times the width they should be on iPhone 6/6+.
The first image is the simulator for 5s, second is for 6.
http://imgur.com/a/ybV1X

Related

Xcode 6 ViewController content is smaller than the simulator screen

i'm developing app for both IOS7 & IOS8, and using storyBoard with size classes enabled.
app works fine in all simulators from iPhone 4s IOS7 to iPhone 6+
but the viewController is smaller than the screen in iPhone 5 with iOS7
app supports different orientations, i tried and canceled orientations but didn't work. i rested the simulator content, didn't work. I tried to change the initial view controller, didn't work. I cleaned the project, didn't work
To run your application in fullscreen in iPhone5 you must provide Launch Image for iPhone5 with resolution 640x1136.
If you are not including Launch Image of the size iPhone5 require then app will run in the centre of the screen, showing black area at top and bottom.
You can also refer here for more information.
Make sure there is a Default-568#2x.png in the supporting files

Xcode 6 custom launch screen

I am trying to make a custom launch screen based Xcode 6 new feature following the content given here. I don't understand how can I manage orientation of launch screen on iPad. My launch screen contains a horizontal rectangular image in the centre. Using size classes I can set different constraints and views for iPhone in landscape or portrait mode. But unable to do the same for iPad. Also how can I lock the orientation of Launch screen when creating a launch screen using the above method ?
You can not do this for the iPad because both orientations fall under the regular width and regular height size class.

iPhone and iPad image size

I tried to develop universal app, and I displayed image with size 768*1024 on iPhone 4 and I displayed the same size on iPad screen and I get good resolution for both is this normal? the same image I can use in iPhone and iPad or this happened only on simulator? whats the best size for iPhone 4 and iPad?
I appreciate any help.
Thanks.
In the iOS Human Interface Guidelines image sizes are dealt with. The launch images cover the whole screen and thus give the best resolution for the devices.

Different width of UIDatePicker iPhone and iPad in iOS 7

I'm working on conversion of a universal app for iOS 7. I found difference in behaviour of UIDatePicker in iPad and iPhone.Code is same for both the devices but It's not showing full screen width in iPhone. However in iPad Date picker width is fullscreen. Please help me. Thanks

How to position static buttons and iPhone 5

I am working on an app where i have 12 buttons and labels underneath on one of the views. They are placed on the storyboard directly. I want to make sure they will get properly repositioned in iPhone 5. The solution that i tried is just to deselect all the lines in the autosizing for all the buttons. Now when i try it on iphone 5 the buttons get resized. The problem if i stretch the storyboard and move the buttons they get messed up when running on the smaller screen. So i can only position them on the smaller screen and then it seems to work. The app does not rotate. I would like to know if this is a good solution or there is a better solution for this case. I would like for the app to support iOS 5+
Thank you!
If you want layouts to work with varying screen sizes, you should become familiar with the new constraint-based layout scheme in iOS 6. A WWDC video on the subject can be viewed at http://www.youtube.com/watch?v=Dkr9eKxlMAk&feature=player_detailpage.
Essentially, you're going to use the old struts and springs system for pre-iOS 5 and conditionally use the new scheme for iOS 6. (iPhone 5 won't run any iOS version prior to 6.)