I drew some lines on imageView and I need to clear my screen. How can I clear imageView?

When I was working with CGShapeLayer I was using removeFromSuperlayer. 
Is there any alternative to this function?

```
 weak var shapeLayer: CAShapeLayer?
 self.shapeLayer?.removeFromSuperlayer(

```