Keyboard -> (Radio) All C开发者_高级运维ontrols) be controlled with some API? It causes major issues when this thing is on in my app (like buttons not wor" />
开发者

Disable Full Keyboard Access for App

开发者 https://www.devze.com 2023-01-20 21:32 出处:网络
Can \"Full Keyboard Access\" (System Prefs -> Keyboard -> (Radio) All C开发者_高级运维ontrols) be controlled with some API? It causes major issues when this thing is on in my app (like buttons not wor

Can "Full Keyboard Access" (System Prefs -> Keyboard -> (Radio) All C开发者_高级运维ontrols) be controlled with some API? It causes major issues when this thing is on in my app (like buttons not working as expected etc ... it has some custom UI)

Regards, Erik


Override nextValidKeyView and previousValidKeyView in your custom view to return something sane, or set the view's nextKeyView and previousKeyView to specific views if detecting valid key views automatically isn't possible.

If Full Keyboard Access can't navigate your app correctly, then neither can anybody who can't use the mouse. Also, some of us really like Full Keyboard Access, and hate any app that either doesn't work properly under it or breaks it deliberately (and, from the user perspective, there is no difference).

0

精彩评论

暂无评论...
验证码 换一张
取 消