I have a macOS app that captures screen images. The first time I run this application, a dialog is shown directing the user to give my app Screen Recording permission. Is there a way I can trigger this dialog earlier and detect whether the permission was granted?
Some updates…
george_austin_miller wrote:
Could Apple just update the developer documentation to show the correct availability (in this case macOS 11+) on the affected methods?
Yes we could. Given the limited options for updating 10.15.x, the best path forward here would be to update the availability macro in the SDK to indicate that it’s only available on macOS 11 and later.
Unfortunately our bug about this (r. 72786842) got a bit lost. If you’re suffering from this issue, I’d appreciate you filing a new bug and then posting your bug number here.
Oh, and I should also mention that, while these old school APIs continue to work, we recommend that you update your code to use ScreenCaptureKit.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"