Get the bound box for a cgPath with +10 of width and height in swift iOS

 Solution:

    let selectionBox = appenedPath.boundingBox.insetBy(dx: -10.0, dy: -10.0)


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