Contents

CGDisplayPixelsWide(_:)

Returns the display width in pixel units.

Declaration

func CGDisplayPixelsWide(_ display: CGDirectDisplayID) -> Int

Parameters

  • display:

    The identifier of the display to be accessed.

Return Value

The display width in pixel units.

See Also

Functions