Xcode 6 Auto layout iphone 4 only

how to work with auto layout classes on only one phone
for example i want to make the distance between the top edge of the screen and the element 50 px in iphone 4, but in iPhone 5 i want to make it 100 px

I need, but the distance for each device separately

+3
autolayout ios8 xcode6 constraints


source to share


No one has answered this question yet

Check out similar questions:

1473
Using Auto Layout in UITableView for Dynamic Cell Layouts and Variable Row Heights
317
Auto preferred max layout width not available in iOS versions prior to 8.0
241
How can I use automatic layout to move other views when the view is hidden?
177
iOS: Multi-line UILabel in auto layout
150
UITextView that expands to text using auto layout
148
How do I customize the CALayer anchor point when using auto layout?
40
Springs in auto layout: evenly distribute constrained views in Xcode 5
0
Xcode 6 Auto Layout - Constant horizontal spacing between UI elements on all devices
0
Using iPhone 4s UIImageView on iPhone 6PLUS in Auto Layout
0
Auto Layout Limitations Issue with iPhone 5 and iPhone 6



All Articles
Loading...
X
Show
Funny
Dev
Pics