1、版本更新可参考文档:https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/store-update-V52、人脸识别demo如下:import { common, Want } from '@kit.AbilityKit'; @Entry @Component struct Index { private context = getContext(this) as common.UIAbilityContext build() { Column() { Button('跳转到设置') .onClick(() => { let want: Want = { bundleName: 'com.huawei.hmos.settings', abilityName: 'com.huawei.hmos.settings.MainAbility', uri: 'biometrics_and_password_settings', parameters: { pushParams: "com.example.jump2setting" } }; this.context.startAbility(want) }) } .width("100%") .height("100%") .alignItems(HorizontalAlign.Center) .justifyContent(FlexAlign.Center) } }
1、版本更新可参考文档:
https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/store-update-V5
2、人脸识别demo如下: