Reply to Why doesn't the keyUp event work in Swift? Hello, Try by turning off the Full Keyboard Access in Accessibility system preferences / settings UI Frameworks AppKit Apr ’23