cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesper van den Ende (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-12886) white area where status bar is in iOS 11
Date Sat, 11 Nov 2017 16:15:01 GMT

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

Jesper van den Ende edited comment on CB-12886 at 11/11/17 4:14 PM:
--------------------------------------------------------------------

Adding {code:none}
[wkWebView.scrollView setContentInsetAdjustmentBehavior: UIScrollViewContentInsetAdjustmentNever];
{code} in CDVWKWebViewEngine.m fixes the issue for me. But I believe this removes the need
for `viewport-fit=cover` altogether and just sets it to `cover` by default. So this might
not be the most elegant solution.


was (Author: jespertheend):
Adding {code:objective-c}
[wkWebView.scrollView setContentInsetAdjustmentBehavior: UIScrollViewContentInsetAdjustmentNever];
{code} in CDVWKWebViewEngine.m fixes the issue for me. But I believe this removes the need
for `viewport-fit=cover` altogether and just sets it to `cover` by default. So this might
not be the most elegant solution.

> white area where status bar is in iOS 11
> ----------------------------------------
>
>                 Key: CB-12886
>                 URL: https://issues.apache.org/jira/browse/CB-12886
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-ios
>         Environment: iOS 11 beta 1
>            Reporter: Shazron Abdullah
>              Labels: backlog, ios11
>             Fix For: cordova-ios@5.0.0
>
>         Attachments: ios11.png, screenshot-1.png, screenshot-2.png, screenshot-3.png,
screenshot-4.png, screenshot-5.png, screenshot-6.png
>
>
> See attached screenshot. Using WKWebView plugin, new app.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message