Im trying to remove the border of a Circle View.. but doesnt matter what I do, I still see the border.
Here the code
_ = drawCanvas.addPanGestureRecognizer { locations, center, translation, velocity, state in
if(center.y > drawCanvas.anchorPoint.y){
ShapeLayer.disableActions = true
let circle = Circle(center: center, radius: 30)
var b = Border()
b.width = 0.0
b.color = Color(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.0)
circle.border = b
drawCanvas.add(circle)
ShapeLayer.disableActions = false
let a = ViewAnimation(duration: 1.0) {
//circle.opacity = 0.0
//circle.transform.scale(0.3, 0.3)
}
_ = a.addCompletionObserver {
//circle.removeFromSuperview()
}
a.curve = .Linear
a.animate()
}
}