I'm developing an application and have some problems with status bar on my device. Status bar appears when I tap input field in my app to put some text in it. Is it possible to disable appearance of status bar when I focus on some input fields in my app? I want to disable it because status bar blocks significant part of top nav menu of my app by itself. Or I want to get an actual height of the status bar to increase top margin of a body. Or may be there is a way to make a body of an app responsive?
I added one line of code that hides status bar and it works only in the emulator but not in the app preview.
$('.header-search-box-input input').focus(); intel.xdk.device.hideStatusBar();
Could somebody help me please? :)
Do not use those intel.xdk plugins, they have all been deprecated and most have been retired. There are equivalent plugins for most in the Cordova plugin universe. Please see this doc page for some help > https://software.intel.com/en-us/xdk/docs/intel-xdk-api-cordova-plugin-methods-properties-events