How to make an automatic layout for a universal app
Now I am making a universal application; I am having problems with automatic layout; I need to make two views the same size on all devices; I was working on a storyboard with a view of WAny hAny; and here are the images that I achieve
The problem on the iPad the bottom view is very big and I need these two vies almost the same height as in the attached photo for iPhone-4inch
The following pictures showed my limitations to be viewed from above
and the following:

if I make the same height there is a photo
and at the same time restrictions
and here is an output

here is the modification as you see the iPad, the bottom view is the problem



source to share
If you want both views to have the same height, give them equal height constraints and remove the constraint between the bottom view and the top of the supervisor. You make a height limitation by selecting both views and choosing "Equal heights" from the contacts menu. If you want them not to be the same, you can change this constraint to change the multiplier value to whatever you want.
source to share
