1

When inserting a UIImageView (which is masked by setting the MaskView property) the line that was drawn before also becomes masked.

enter image description here

The lines were first drawn animated using a UIBezierPath CAShapeLayer and CABasicAnimation

Is there a way to keep the lines drawn or do I have to draw them again?

empo
  • 1,133
  • 5
  • 21
  • 41
  • So I realised after that I was drawing the lines on the first UIView in the hierarchy (below the inserted UIImageView) so that makes sense why the lines were being masked. Tried a few things before settling on drawing the lines again. – empo Oct 19 '18 at 14:24

0 Answers0