Quartz Window Services
Provides information about the windows managed by the macOS window server.
Overview
This includes the onscreen windows seen on the user’s desktop and any offscreen windows used by the running applications. You can also use Quartz Window Services to generate images based on the contents of windows.
Topics
Getting Window Information
CGWindowListCopyWindowInfo(_:_:)CGWindowListCreateDescriptionFromArray(_:)CGWindowListCreateImage(_:_:_:_:)init(windowListFromArrayScreenBounds:windowArray:imageOption:)