参考写法如下onWindowStageCreate(windowStage: window.WindowStage) { windowStage.getMainWindow().then((windowObj) => { windowObj.setWindowLayoutFullScreen(true); windowObj.setWindowSystemBarEnable(['status']) }); }参考链接如下:https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/application-window-stage-V5
参考写法如下
参考链接如下:
https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/application-window-stage-V5