CALayer And Auto Layout With Swift

CALayers are useful when we want to manage and possibly animate visual content. However, the inability to use auto layout with CALayers can be frustrating. In this post, Marco Santarossa describes a specific scenario he encountered involving CALayer and auto layout, and provides three possible solutions to the problem he faced.