The brightness level of the screen.
- iOS 5.0+
- Mac Catalyst 13.0+
This property is only supported on the main screen. The value of this property should be a number between
Brightness changes made by an app remain in effect until the device is locked, regardless of whether the app is closed. The system brightness (which the user can set in Settings or Control Center) is restored the next time the display is turned on.