Re:Show HN: I made a macOS app to let me draw on the screen ...
by bluedino on Wednesday April 22, 2020 @08:36AM
(#22944862)
I'm guessing the app creates a transparent NSWindow the size of the screen, and you are drawing to that. That's why scrolling doesn't work.
In order for scrolling to work you'd have to do something like create a transparent window over the app you are drawing on, and scroll the application window that is below using the Accessibility API.
Re:Show HN: I made a macOS app to let me draw on the screen ...
by rampatra on Wednesday April 22, 2020 @05:18PM
(#22950298)
That's correct. I could have used Accessibility API to allow scrolling but apple would not allow me to publish my app on the app store as the app wouldn't be sandboxed.
In order for scrolling to work you'd have to do something like create a transparent window over the app you are drawing on, and scroll the application window that is below using the Accessibility API.