Instance Property


The color of the light source.


var color: CGColor? { get set }


The default color corresponds to a color temperature of 6500 K, as described by the setColorByTemperature(_:) method.

See Also

Managing Light Color and Intensity

var lumens: Float

The total visible intensity of the light source, in lumens.

func setColorByTemperature(Float)

Sets the light’s color based on a black-body temperature.

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