cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-4930) InAppBrowser should take into account the status bar
Date Wed, 01 Apr 2015 21:48:54 GMT

    [ https://issues.apache.org/jira/browse/CB-4930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14391541#comment-14391541
] 

Shazron Abdullah commented on CB-4930:
--------------------------------------

Ok, my first attempt at a fix based on [~daneanvemo]'s test project: https://github.com/shazron/CB4930/tree/fix1

Previously the status bar style wasn't set so you could not see anything on the statusbar
(it was all hidden). The statusbar is still transparent however, as intended by iOS 7's design.
This is apparent if you change the iAB URL to http://yahoo.com

What is needed here is a view behind the statusbar to act as a background for the statusbar.
However, this brings up what color should it be? (Note that using the org.apache.cordova.statusbar
plugin does not solve this). 

I think it's better if the statusbar is hidden, for iAB.


> InAppBrowser should take into account the status bar
> ----------------------------------------------------
>
>                 Key: CB-4930
>                 URL: https://issues.apache.org/jira/browse/CB-4930
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin InAppBrowser
>    Affects Versions: 3.0.0
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>              Labels: ios7
>             Fix For: 3.2.0
>
>
> Right now, the status bar overlaps the IAB at the top.
> Hide the status bar when on iOS 7, unhide (if it was hidden by the user in the first
place for the app only) when it is closed.
> Workaround for now - I suppose you could inject some css to have a body margin-top of
20px (or a different value if it is landscape - yeah it could get messy)
> Hiding/unhiding the status bar is preferable to moving the view down to be consistent
with the UIWebView taking up the whole window.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message