brightnessDidChangeNotification
TypeScriptstatic get brightnessDidChangeNotification(): Promise<_Foundation_NSNotification_Name>Swift declarationnonisolated class let brightnessDidChangeNotification: NSNotification.Nameclass · iOS 2.0+ · SDK 27.1
@MainActor class UIScreenstatic get brightnessDidChangeNotification(): Promise<_Foundation_NSNotification_Name>Swift declarationnonisolated class let brightnessDidChangeNotification: NSNotification.Namestatic get capturedDidChangeNotification(): Promise<_Foundation_NSNotification_Name>Swift declarationnonisolated class let capturedDidChangeNotification: NSNotification.Namestatic get didConnectNotification(): Promise<_Foundation_NSNotification_Name>Swift declarationnonisolated class let didConnectNotification: NSNotification.Namestatic get didDisconnectNotification(): Promise<_Foundation_NSNotification_Name>Swift declarationnonisolated class let didDisconnectNotification: NSNotification.Namestatic get modeDidChangeNotification(): Promise<_Foundation_NSNotification_Name>Swift declarationnonisolated class let modeDidChangeNotification: NSNotification.Namestatic get referenceDisplayModeStatusDidChangeNotification(): Promise<_Foundation_NSNotification_Name>Swift declarationnonisolated class let referenceDisplayModeStatusDidChangeNotification: NSNotification.Namestatic get main(): Promise<UIScreen>Swift declarationclass var main: UIScreen { get }static get screens(): Promise<Array<UIScreen>>Swift declarationclass var screens: [UIScreen] { get }static init(): Promise<UIScreen>Swift declarationinit()snapshotView(afterUpdates: boolean): Promise<UIView>Swift declarationfunc snapshotView(afterScreenUpdates afterUpdates: Bool) -> UIViewget applicationFrame(): Promise<{ x: number; y: number; width: number; height: number }>Swift declarationvar applicationFrame: CGRect { get }get availableModes(): Promise<Array<UIScreenMode>>Swift declarationvar availableModes: [UIScreenMode] { get }get bounds(): Promise<{ x: number; y: number; width: number; height: number }>Swift declarationvar bounds: CGRect { get }get brightness(): Promise<number>Swift declarationvar brightness: CGFloat { get set }setBrightness(value: number): Promise<void>Swift declarationvar brightness: CGFloat { get set }get calibratedLatency(): Promise<number>Swift declarationvar calibratedLatency: CFTimeInterval { get }get isCaptured(): Promise<boolean>Swift declarationvar isCaptured: Bool { get }get coordinateSpace(): Promise<SDKHandle>Swift declarationvar coordinateSpace: any UICoordinateSpace { get }get currentEDRHeadroom(): Promise<number>Swift declarationvar currentEDRHeadroom: CGFloat { get }get currentMode(): Promise<(UIScreenMode) | null>Swift declarationvar currentMode: UIScreenMode? { get set }setCurrentMode(value?: (UIScreenMode) | null): Promise<void>Swift declarationvar currentMode: UIScreenMode? { get set }get fixedCoordinateSpace(): Promise<SDKHandle>Swift declarationvar fixedCoordinateSpace: any UICoordinateSpace { get }get focusedItem(): Promise<(SDKHandle) | null>Swift declarationweak var focusedItem: (any UIFocusItem)? { get }get focusedView(): Promise<(UIView) | null>Swift declarationweak var focusedView: UIView? { get }get maximumFramesPerSecond(): Promise<number>Swift declarationvar maximumFramesPerSecond: Int { get }get mirrored(): Promise<(UIScreen) | null>Swift declarationvar mirrored: UIScreen? { get }get nativeBounds(): Promise<{ x: number; y: number; width: number; height: number }>Swift declarationvar nativeBounds: CGRect { get }get nativeScale(): Promise<number>Swift declarationvar nativeScale: CGFloat { get }get overscanCompensation(): Promise<UIScreen_OverscanCompensation>Swift declarationvar overscanCompensation: UIScreen.OverscanCompensation { get set }setOverscanCompensation(value: UIScreen_OverscanCompensation): Promise<void>Swift declarationvar overscanCompensation: UIScreen.OverscanCompensation { get set }get overscanCompensationInsets(): Promise<{ top: number; left: number; bottom: number; right: number }>Swift declarationvar overscanCompensationInsets: UIEdgeInsets { get }get potentialEDRHeadroom(): Promise<number>Swift declarationvar potentialEDRHeadroom: CGFloat { get }get preferredMode(): Promise<(UIScreenMode) | null>Swift declarationvar preferredMode: UIScreenMode? { get }get referenceDisplayModeStatus(): Promise<UIScreen_ReferenceDisplayModeStatus>Swift declarationvar referenceDisplayModeStatus: UIScreen.ReferenceDisplayModeStatus { get }get scale(): Promise<number>Swift declarationvar scale: CGFloat { get }get supportsFocus(): Promise<boolean>Swift declarationvar supportsFocus: Bool { get }get wantsSoftwareDimming(): Promise<boolean>Swift declarationvar wantsSoftwareDimming: Bool { get set }setWantsSoftwareDimming(value: boolean): Promise<void>Swift declarationvar wantsSoftwareDimming: Bool { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UIScreen.displayLink(withTarget:selector:)
Objective-C selectors cannot cross the bridge.