1

I am trying to put 5 Buttons in a UIViewController, which will have multi-line text:

Setup 1

But, when I set the multi-line content, text starts to overlap:

enter image description here

Are my constraints wrong? Should I do something else? Appreciate your help.

jwitos
  • 492
  • 3
  • 7
  • 24
  • There's a number of posts here that address similar answers. Try [this](http://stackoverflow.com/a/34228276/3487310) and [this](https://www.objc.io/issues/3-views/advanced-auto-layout-toolbox/#intrinsic-content-size-of-multi-line-text). I'm not marking this question as a duplicate because I don't know if these answers will work. – fsb Apr 29 '16 at 14:26
  • What is your constraint for the bottom button? Is it left unconstrained from the bottom of your screen or is it constrained to the bottom? Are you seeing any messages in your console output that say the constraint engine can't satisfy all constraints so it is breaking one? – Will M. Apr 29 '16 at 17:28
  • @WillM. it is left unconstrained, there is no message – jwitos Apr 29 '16 at 19:38

0 Answers0