【发布时间】:2018-02-10 19:34:22
【问题描述】:
我目前正在使用 Ionic 3,但我发现了一个非常奇怪的错误(?)。在 android 上,我在 config.xml 和 app.component.ts 文件中使用全屏选项
config.xml:
<preference name="FullScreen" value="true" />
app.component.ts:
keyboard.disableScroll(true);
keyboard.hideKeyboardAccessoryBar(true);
this.androidFullScreen.isImmersiveModeSupported()
.then(() => this.androidFullScreen.immersiveMode())
.catch((error: any) => console.log(error));
statusBar.hide();
statusBar.overlaysWebView(false);
在我开始使用输入之前,它运行良好,当键盘出现时,状态栏也可见,直到最小化应用程序并再次打开。
【问题讨论】:
标签: android ionic-framework keyboard ionic3 statusbar