CAShapeLayer beizerpath edges not smooth objective c iOS

 Problem:

ShapeLayer edges are not smooth while drawing in CAShapeLayer.


Solution:

  [shape setLineCap:kCALineCapRound];


Add the above line it will smooth the layer in the edges.

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift