You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 27, 2020. It is now read-only.
I have an iOS app that is restricted to portrait orientation only, but the file viewer that's opened using this plugin does allow rotation to landscape. If I close the file while in landscape, the bottom half of the screen is black and it looks like the app is trying to take up the space of landscape, but is not rotated to fit. It can be reset by opening another file, rotating to landscape, then back to portrait and closing the file.
For the issue above, I forked and hacked a solution that forces portrait mode. Pasting it below as potential reference. The subclassing of QLPreviewController is likely sane, and you could influence the return value based on configuration.
I have an iOS app that is restricted to portrait orientation only, but the file viewer that's opened using this plugin does allow rotation to landscape. If I close the file while in landscape, the bottom half of the screen is black and it looks like the app is trying to take up the space of landscape, but is not rotated to fit. It can be reset by opening another file, rotating to landscape, then back to portrait and closing the file.
I don't know if this helps, but I saw there was a similar bug in the Codova InAppBrowser plugin that was fixed: https://issues.apache.org/jira/browse/CB-5649
The text was updated successfully, but these errors were encountered: