title: How can I set maximum width of a view in iOS?
body: <p>My app have a basic login screen, an outer box and in it, some text fields and buttons. I set the box to fill the screen. However, on some devices this box will be too big. How do I set maximum width and height to a view?</p>