CVDisplayLinkGetCurrentCGDisplay(_:)
Gets the current display associated with a display link.
Declaration
func CVDisplayLinkGetCurrentCGDisplay(_ displayLink: CVDisplayLink) -> CGDirectDisplayIDParameters
- displayLink:
The display link whose current display you want to obtain.
Return Value
An identifier representing the current display. For more information on the display identifier type, see CGDirectDisplayID.