In Swift programming , how do you crop an image and put it on the center afterwards?
This is what I\'ve got so far ... I\'ve successfully crop the image but I want t
Change this:
masklayer.frame = ImgView.frame
To this:
masklayer.frame = ImgView.bounds