问题
I have a view on top of my viewcontroller, its height is 64.
I need this view stays same size in all screen size 3.5" , 4" , 4,7" and 5,5".
The result I am taking is as in screenshots.
What should I do?
After fixing height to 64 it looks like this ;
回答1:
Add Fixed Height to your Headerview like this , check in below image .
回答2:
Fix Height of your view
Leading : 0
Top : 0
trailing : 0
回答3:
Pin the height for wAny hAny size classes.
来源:https://stackoverflow.com/questions/36789023/uistoryboard-constraints-on-uiview