How to hide virtual buttons and title using Ionic 2?

enter image description here

I am developing an application for Android Ionic 2. I want to know how to hide the control button below ("← O 口"), as well as the top title bar?

+1
source share
1 answer

According to this question, we can hide the status bar in Ionic 2 using the following code:

import {StatusBar} from 'ionic-native';
import {App, Platform} from 'ionic-angular';
//He wrotes 'ionic/ionic', but it doesn't work for me.
constructor(private platform: Platform) {
    this.platform.ready().then(()=>{
        StatusBar.hide();
    }
}
0
source

Source: https://habr.com/ru/post/1533531/


All Articles