Contents

ColorSyncProfileCreateWithDisplayID(_:)

Creates a profile for the specified display.

Declaration

func ColorSyncProfileCreateWithDisplayID(_ displayID: UInt32) -> Unmanaged<ColorSyncProfile>?

Parameters

  • displayID:

    The system-wide unique display ID (defined by IOKit); pass 0 for the main display.

Return Value

A new profile, or NULL in case of failure.

See Also

Reading display gamma and profiles