So, I have a CALayer, which has a mask & I want to add border around this layer\'s mask. For example, I have set triangle mask to the layer and I want to have b
Some suggestions:
vImageDilate family of functions (more complicated, and may run into performance problems).CAShapeLayer to draw the border.