The imagePickerWaitingForImageDataViewis now rotated along with the other subviews, using rotateToCurrentDeviceOrientation() and adding constraints for size and positioning (center).
Why?
PhotoCaptureViewController is locked to portrait orientation, but subviews are rotated individually according to device orientation. This caused the custom imagePickerWaitingForImageDataView to remain in portrait when the device was rotated.
What?
The
imagePickerWaitingForImageDataView
is now rotated along with the other subviews, usingrotateToCurrentDeviceOrientation()
and adding constraints for size and positioning (center).Why?
PhotoCaptureViewController
is locked to portrait orientation, but subviews are rotated individually according to device orientation. This caused the customimagePickerWaitingForImageDataView
to remain in portrait when the device was rotated.