finn-no / Finjinon

Custom iOS camera optimized for taking a sequence of photos quickly and/or selecting from an image picker
MIT License
58 stars 16 forks source link

Rotation support for activity indicator-view: imagePickerWaitingForImageDataView #14

Closed PWFinn closed 7 years ago

PWFinn commented 7 years ago

What?

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.