Instance Property


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


var lumens: Float { get set }


The default intensity is 1000 lumens.

See Also

Managing Light Color and Intensity

var color: CGColor?

The color of the light source.

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