1

I am using a series of embedded stackviews in the storyboard. I'm getting this error in the console and also noticing jittery scrolling in the table view.

"This system of layout constraints is extremely difficult to optimize, taking 1014 pivots. Try ensuring your layout is not over-constrained and you have no redundant constraints."

How can I optimize my layout while still taking advantage of the utility of stackviews?

enter image description here

GarySabo
  • 5,806
  • 5
  • 49
  • 124
  • Stack Views are great... until they're not. With a layout this straight-forward, I'd suggest simply laying out your labels and adding logical constraints. – DonMag Jan 16 '18 at 17:13
  • Damn! Will do! Thanks @DonMag – GarySabo Jan 16 '18 at 19:39
  • My interface also uses multiple nested stack views, and I just received the same error. Did you ever find a workaround or did you have to scrap all the nesting? – djibouti33 May 25 '19 at 07:29
  • @djibouti33 yes I just ended up making it a lot less complicated (i.e. less stackviews) – GarySabo May 25 '19 at 18:27

0 Answers0