Is this the right fan type?
let bezierPath=UIBezierPath()
bezierPath.moveToPoint (CGPointMake(0,20))
bezierPath.addCurveToPoint (CGPointMake(40,0), controlPoint1: CGPointMake(0,20), controlPoint2: CGPointMake(11,0))
bezierPath.addCurveToPoint (CGPointMake(80,20), controlPoint1: CGPointMake(69,0), controlPoint2: CGPointMake(80,20))
bezierPath.addLineToPoint (CGPointMake (40,56))
bezierPath.addLineToPoint (CGPointMake(0,20))
bezierPath.closePath()
UIColor.grayColor().setFill()
bezierPath.fill()
© 2024 OneMinuteCode. All rights reserved.