Question about deprecated CGDisplayCreateImage()

Hello, Documentation says CGDisplayCreateImage() is deprecated. Are there any equivalent which can be used instead of CGDisplayCreateImage()? (any function which implements the same functionality)

Thank you for the help, Pavel

Accepted Reply

There is a ScreenCaptureKit framework, but I wouldn’t exactly say it’s the same functionality, it looks way more complicated.

Replies

There is a ScreenCaptureKit framework, but I wouldn’t exactly say it’s the same functionality, it looks way more complicated.

Looks like this new framework implements functionality which I was looking for. SCScreenshotManager is promising.

Thank you a lot for your help!