My Companies

Make Hexagonal View on iOS

In this post, we will explore a bit on how to use CALayer. With CALayers you can create some neat visual effects really easily. Let's see an example on how to mask a view to a hexagon using CALayer. We mostly see square or circular images on most apps. This example is taken from a recent project I worked on which required setting up a hexagonal concept for the images.