good day everyone ,
i am a new to ios development . i am following auto layout tutorial series of raywenderlich from youtube channel . i am trying to do all challenges thrown at the end of tutorial but i am stuck in this one . challenge is that i have to build a layout in which i have to set multiple textfields and button and the vertical space between them will adjust according to screen size or orientation. i just need hint that how i will set constraints priorites in this way that it will minimize and maximize the space between these elements according to screen size.
Correct!
You can even have multiple constraints on a ui element, and disable/enable (or active/deactive specifically) the one you want to show.
WARNING: For this to work (and NOT break your constraints), you should only enable 1 at a time. The second your app has a conflict, it WILL break and things won’t look good. I guarantee it.