OpenHarmony 如何切换输入法
1、命令切换:默认已配置环境,hdc可用
hdc_std.exe shell aa start ability -a InputMethod -b cn.openharmony.inputmethodchoosedialog
2、代码切换:
import inputMethod from '@ohos.inputmethod'
...
let setting = inputMethod.getInputMethodSetting()
setting.displayOptionalInputMethod()