How OpenHarmony/HarmonyOS intercepts the physical return event of the page (API9)

How to intercept the physical return event of the page (API9)
. Add return true in the onBackPress method of the page; you can prevent the physical return.

Guess you like

Origin blog.csdn.net/qq_39132095/article/details/132914242