Open ionitron-bot[bot] opened 5 years ago
Was there a resolution to this issue? I'm experiencing the exact same issue.
Was there a resolution to this issue? I'm experiencing the exact same issue.
what is the solution for this
@HanojHanu I managed to fix this in our project by altering the file CDVInAppBrowserNavigationController.m
. I am not an objective C developer and so I can not recommend my change, but it worked for me.
I will quote myself from my own project's issue regarding this problem. Your folder structure may differ.
Quote:
I have identified the plugin file that controls the inappbrowser, it is located here
plugins/cordova-plugin-inappbrowser/src/ios/CDVInAppBrowserNavigationController.m
In this file there is a property specified for the statusbar height;statusBarFrame.size.height = STATUSBAR_HEIGHT;
(line 35). I manually added a property for width;statusBarFrame.size.width = 1366;
and this seemed to resolve the issue of the statusbar not covering the content. Essentially it draws a rectangle to make a background for the statusbar.
Hopefully this helps.
Original issue by @natalieG96 on 2018-10-17T12:34:43Z
Bug Report
Ionic Info
Describe the Bug I am loading a website with the InAppBrowser. The iOS statusbar is overlapping the InAppBrowser respectively the InAppBrowser is behind the statusbar. Theres missing some padding.
Steps to Reproduce Steps to reproduce the behavior:
Related Code At home.page.ts
config.xml
Expected Behavior Statusbar should have its own place. No overlapping
Additional Context