I referred to the official documentation, but when I tried printing logs, it did not show that the event was triggered.
Did I miss something?
Documentation: https://developer.apple.com/documentation/appkit/nsresponder/changemode(with:)
My code:(Objective-C) https://github.com/yesseecity/apple-pencil-test
Devices:
- Macbook Pro 13 inch (M1), Mac OS: 15.2
- iPad air 13 inch (M2), iPad OS: 18.2
- Apple Pencil Pro