Contents

isHeadless

A Boolean value that indicates whether a GPU device doesn’t have a connection to a display.

Declaration

var isHeadless: Bool { get }

Mentioned in

Discussion

The value is true when the GPU is headless, which means it isn’t connected to any displays.

See Also

Identifying a GPU device