1) Portrait Image imported from files app is in landscape. How to fix this bug.
a) Image saved from iPad 11 Pro front camera.
b) saved image
c) Image thumbnail in files app import window
d) Image imported in landscape mode
2) This landscape image is fixed using below extension. But the output image obtained is slightly different for iOS 15 when compared with iOS 14.
How to fix both issue?