I am trying to build a simple user form which is adaptive to the screen. Right now I am able to show some text fields vertically. I want to group two fields together so that they will appear next to each other horizontally in the landscape mode.
How can I do that for iOS 8?
For different size classes you can have different autolayout setup(constraints) . You will have to select landscape mode from attribute inspector. Then align your text fields, add constraint. It will behave the way you want. Checkout the last 5-6 minutes of Stanford CS193p lecture no 8. Easily you will learn how to do it.
An alternate solution is using collective view which on slight tweaking to FlowLayout will behave the way you need. Hope it helped. I Would prefer to go with this if have not watched that lecture