Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Status bar not working on Ionic app

Tags:

ios

ionic

As you can see here: enter image description here

For some reason the status bar is "pushing" my fixed header a few pixels down. Is there any way to fix it?

I can't debug on browser because this issue happens only on the device.

I'm using the default Ionic app, and this is where I'm setting my StatusBar:

.run(function($ionicPlatform) {
    $ionicPlatform.ready(function() {
        if(window.StatusBar){
            StatusBar.styleDefault();
        }
    });
}) 
like image 206
Bruno Monteiro Avatar asked Oct 17 '15 13:10

Bruno Monteiro


1 Answers

Connect your phone to your computer and open google chrome and you see this route chrome://inspect/#devices

This allows you to debug the phone

I hope it helps you.

Sorry, the problem is IOS

http://moduscreate.com/enable-remote-web-inspector-in-ios-6/

it also for ios 9

like image 99
Omar Avatar answered Nov 15 '22 13:11

Omar