Closed kjen93 closed 7 years ago
Progress view is still misplaced on devices that run on iOS 8+
Since iOS 8, [UIScreen mainScreen].bounds is orientation-dependent, this solution is incorrect when devices run on iOS 8+.
Below screenshot is captured from iPad simulator iOS 10.2 with IDMPhotoBrowser 1.11.1:
Use actual interface orientation instead of the device one to fix misplaced progress view when orientations do not match
Progress view is misplaced when the device is in landscape orientation, but application is portrait-only.