Benjamin E. Benjamin E. - 1 year ago 119
iOS Question

Cordova camera resize on orientation change

When taking a photo via
and changing the device's orientation inside the photo interface, the webview's viewport doesn't resize upon returning. The blank space is not part of the HTML document, so internal resizing in the app doesn't help.

A plugin bug? Is there a way to force resizing on the cordova / webview layer?

That's the result of starting vertical, opening the photo interface, turning into horizontal and returning to the app:
enter image description here

Answer Source

This was just fixed with cordova-plugin-statusbar@2.2.0