Jacob Weber created CB-11125:
--------------------------------
Summary: camera breaks UI when orientation changes from landscape
to portrait on iOS
Key: CB-11125
URL: https://issues.apache.org/jira/browse/CB-11125
Project: Apache Cordova
Issue Type: Bug
Components: Plugin Camera, Plugin Statusbar
Affects Versions: 4.1.1
Environment: Mac OS 10.11.4, iOS 9.3.1, iPhone 6
Reporter: Jacob Weber
CB-10884 also affects the camera plugin. Rotate the device to landscape and
launch the camera. Rotate to portrait while the camera window is open, then
close the camera window. The viewport doesn't adjust to fill the screen.
config.xml:
{code}
<preference name="Orientation" value="all" platform="ios" />
<engine name="ios" spec="4.1.1" />
<plugin name="cordova-plugin-whitelist" spec="1.2.2" />
<plugin name="cordova-plugin-statusbar" spec="2.1.3" />
<plugin name="cordova-plugin-file" spec="4.2.0" />
<plugin name="cordova-plugin-camera" spec="2.2.0" />
{code}
Code to launch camera:
{code}
navigator.camera.getPicture(function(){}, function(){}, {
sourceType: Camera.PictureSourceType.CAMERA,
destinationType: Camera.DestinationType.FILE_URI
});
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]