Global Variable



let kCGWindowBounds: CFString


The value for this key is a CFDictionary type that must be decoded to a CGRect type using the makeWithDictionaryRepresentation(_:) function. The coordinates of the rectangle are specified in screen space, where the origin is in the upper-left corner of the main display.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software