[ 
https://issues.apache.org/jira/browse/CB-11191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jcesarmobile resolved CB-11191.
-------------------------------
    Resolution: Fixed
      Assignee: jcesarmobile  (was: Sergey Shakhnazarov)

Fixed in 2.2.1-dev, but it also requires cordova-ios 4.3.0.

If you can't update to cordova-ios 4.3.0, as a workaround you can use this 
plugin that adds a category to the MainViewController so it sends a 
CDVViewWillAppearNotification notification needed by the 
cordova-plugin-statusbar to fix the issue.
https://github.com/jcesarmobile/cordova-viewcontroller-category

> Statusbar plugin causing issues with webview size
> -------------------------------------------------
>
>                 Key: CB-11191
>                 URL: https://issues.apache.org/jira/browse/CB-11191
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Statusbar
>    Affects Versions: 2.1.0
>         Environment: Cordova CLI Version: 6.1.1
> Cordova iOS Engine: 4.1.1
> Build environment: OSX El Capitan & XCode 7.3
> Device experiencing problem: iPod Touch running iOS 9.3.1
>            Reporter: Dave Philipson
>            Assignee: jcesarmobile
>              Labels: ios, triaged
>
> It appears the statusbar plugin is causing issues with the iOS webview on 
> small form factor devices (iPhone & iPod) when switching orientation whilst 
> the camera is open (camera opened using cordova camera plugin)
> Steps to reproduce:
> Start the application and begin using it in landscape
> Open the camera using the cordova camera plugin
> Whilst the camera is open, rotate into portrait
> Close the camera
> Webview is now squashed down the left of the screen (only fills about 1/4 of 
> the screens overall width)
> Can recover by changing orientation again.
> Sample test app on Github:
> https://github.com/ISeeBinary/statusbar_plugin_testapp
> (tapping on the red square at the top of the test app page should launch the 
> camera)
> Removing the statusbar plugin rectifies the issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to