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

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift