华为鸿蒙系统官网于9月3日发布平台行为变更说明,对沉浸光感组件的使用范围进行了规范1。此次变更针对HarmonyOS 7系统中targetSdkVersion设置为26.0.0及以上的应用,限制沉浸光感仅在Navigation/NavDestination标题栏或Tabs底部TabBar中生效,其他区域的沉浸光感效果将不再展现1。
华为表示此举旨在确保性能和功耗体验最优1。变更中仍保持全区域生效的组件包括弹窗类组件(AlertDialog、ActionSheet、CustomDialog等)和按钮与选择类组件(Slider、Toggle、Select)1,但其他组件的沉浸光感应用范围被限定为Navigation/NavDestination标题栏或barPosition为BarPosition.End的底部TabBar1。
Huawei released a platform behavior change notice on its HarmonyOS official website on September 3rd, establishing new operational constraints for the immersive light sense feature in HarmonyOS 7 1. The update affects applications with targetSdkVersion set to 26.0.0 and higher, standardizing the usage scope of the immersive light sense component 1.
Under the new restrictions, the immersive light sense component will only function in Navigation/NavDestination title bars or bottom TabBar elements with barPosition set to BarPosition.End 1. In all other interface areas, the feature will no longer take effect 1. Certain component categories maintain full-screen functionality, including dialog components such as AlertDialog, ActionSheet, and CustomDialog, as well as button and selection components like Slider, Toggle, and Select 1. According to the announcement, these changes aim to ensure optimal performance and power efficiency while establishing standardized usage parameters for the immersive light sense component 1.
评论
还没有评论,欢迎留下第一条。