I find autolayout hard. Really tricky at first. Here are some techniques that I found have helped.

  1. Work it out on paper

Screen Shot 2017-05-26 at 9.12.01 AM.png

  1. Make it happen in Interface Builder

Screen Shot 2017-05-26 at 9.12.51 AM.png

  1. Then convert to code if necessary.

Screen Shot 2017-05-26 at 9.13.43 AM.png

Advertisement