rotateUIOrientation Function
UIImageOrientation rotateUIOrientation(UIImageOrientation orientation, int steps);
Rotates a UIKit image orientation by a number of 90-degree steps.
Parameters
- orientation — The UIKit orientation to rotate.
- steps — The number of 90-degree steps to rotate by (negative rotates the other way).
Return Value
The resulting UIKit orientation.