When the orientation of the photo taken with iPhone is wrong, the easy rotation method solves everything.
When I get a photo taken with an iPhone from the photo library, the orientation of the image is strange.
It is a way to solve it in one shot.
You don’t have to rush.
If you bite this method, the image with the correct orientation will be returned.
I am making an app that uses Core ML and ARKit.
We send machine learning / AR related information.
Thank you very much.