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

store cgpoint in userdefaults iOS swift