NielCloete commented on issue #773:
URL:
https://github.com/apache/cordova-plugin-inappbrowser/issues/773#issuecomment-881356134
For any future lurkers who don't want to fork, I managed to solve this by
creating a little Swift extension class in the XCode project.
Add this to the swift file:
`import Foundation
import CordovaPlugins
extension CDVWKInAppBrowserViewController {
override open var shouldAutorotate: Bool {
return true
}
override open var supportedInterfaceOrientations :
UIInterfaceOrientationMask {
return .allButUpsideDown
}
}`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]