Bridging Auto Layout with frame based layout

Have you ever run into the issue of placing your new Auto Layout based view within some older frame-based code? One problem you’ll encounter is that you need a way for the frame-based layout to know when its Auto Layout subviews change in size. It turns out that this can be solved in a pretty straight-forward way! In this post I’ll run through an example as well as the solution.


Want to receive more content like this in your inbox?