This is an automated email from the ASF dual-hosted git repository.

GitToTheHub pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-statusbar.git


The following commit(s) were added to refs/heads/master by this push:
     new a8a6d53  doc(readme): move iOS `viewport-fit=cover` quirk directly to 
`StatusBarOverlaysWebView` (#295)
a8a6d53 is described below

commit a8a6d53d561755a4911ad02018135c2879001091
Author: Manuel Beck <[email protected]>
AuthorDate: Fri Sep 18 22:07:04 2026 +0200

    doc(readme): move iOS `viewport-fit=cover` quirk directly to 
`StatusBarOverlaysWebView` (#295)
    
    - The iOS quirk for including `viewport-fit=cover` to make the status bar 
overlay should be noted directly under `StatusBarOverlaysWebView`. Since iOS 11 
is the minimum the plugin supports.
---
 README.md | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/README.md b/README.md
index eaff363..e05d9d8 100644
--- a/README.md
+++ b/README.md
@@ -58,7 +58,11 @@ Preferences
 
     ##### iOS Specifics
 
-    The status bar will be transparent if `StatusBarOverlaysWebView` is set to 
`true`. A background color cannot be applied.
+    The status bar will be transparent if `StatusBarOverlaysWebView` is set to 
`true`. A background color cannot be applied. Since iOS 11 you must also 
include `viewport-fit=cover` in your `<meta name="viewport" content="...">` tag 
if you want the status bar to overlay the webview:
+
+    ```html
+    <meta name="viewport" content="initial-scale=1, width=device-width, 
viewport-fit=cover">
+    ```
 
     ##### Android Quirks
     
@@ -98,15 +102,6 @@ if (cordova.platformId == 'android') {
 }
 ```
 
-### iOS Quirks
-Starting with iOS 11 you must include `viewport-fit=cover` in your viewport 
meta tag if you want the status bar to overlay the webview:
-
-```html
-<meta name="viewport" content="initial-scale=1, width=device-width, 
viewport-fit=cover">
-```
-
-
-
 Hiding at startup
 -----------
 


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

Reply via email to