I know UIBezierPath
's - (void)setLineDash:(const CGFloat *)pattern count:(NSInteger)count phase:(CGFloat)phase
method can draw dashed lines.
But how to reset it to normal line in programming?
This will do it for you: [instance setLineDash:nil count:0 phase:0];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With