I am working on CAShapeLayer.And trying to draw non-linear path.I want to set frame to CAShapeLayer.So i can use CGPathGetPathBoundingBox
CAShapeLayer
CGPathGetPathBoundingBox
You need to set bounds or else it will behave like the anchorPoint is set to [0, 0]. Who wants that? :D
bounds
anchorPoint
[0, 0]