Category / Section
How to overcome Header overlapping with status bar while hosting application through Orubase 2.0?
1 min read
You can overcome this overlapping by increasing the header height when the sample gets rendered in WebView. For this, you can use the isWebView method in core to check whether it is in WebView or not.
Refer to the following code example.
Script
<script> $(function () { if (ej.isWebView()) // ej.isWebView() returns true, if this page used as webview in App { $('#header').css("height", "60px"); //Increase header size $('#header .e-m-header-title').css('top', '15px'); } }); </script> |