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

Saved Image in document directory and save path in coredata not able to fetch the image file iOS swift