文章目录 HarmonyOS UIAbility组件详解 UIAbility组件概述 声明配置 UIAbility组件生命周期 Create状态 WindowStageCreate和WindowStageDestroy状态 Foreground和Background状态 Destroy状态 UIAbility组件启动模式 Singleton启动模式 Standard启动模式 Specified启动模式 HarmonyOS UIAbility组件进阶 WindowStage和UI界面 WindowStage的创建和销毁