For image cropping with UIBezierPath first you need to decide on close path so you put code for free draw. and using that all point you make one UIBezierPath. using that BezierPath we crop image and then we need to resize that image. and finally we get original cropped image. and then we clear image other part by set that cropped image as main image.
Image cropping contains three functionality
1. Free hand image selection for cropping.
2. Crop image according to selection.
3. Clear image cropping.