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

Answered by JWWalker in 783555022

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

Accepted Answer

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!

Question about deprecated CGDisplayCreateImage()
 
 
Q