as diu
as diu

Reputation: 1080

How to disable accessibility voiceover on NSTableView for Mac OS using Swift

Tried the following so far and it doesn't work:

cellView?.setAccessibilityElement(false)
cellView?.setAccessibilityEnabled(false)

Both the above are getting called within tableView(_:viewFor:row:)

Any help would be greatly appreciated.

Upvotes: 1

Views: 308

Answers (1)

Omer Faruk Ozturk
Omer Faruk Ozturk

Reputation: 1852

Set accessibilityElement as false for all subviews in TableViewCell, not only cell itself. (label, button..)

Upvotes: 1

Related Questions