I am working on some image distortion project, Where I need to implement various distortion effects on image. The issue which I am facing is, some of the image get rotated when I do distortion on that.
It happens only with some images. While other images works perfectly. So is there any way to fix the position of image like portrait in UIImageView.
Please provide any solution for it.
Below code solved my issue. Got it from here