One Logo Pool Ball
UIKit · IOS API REFERENCE

UIScreen.CapturedDidChangeMessage

struct · iOS 26.0+ · SDK 27.1

struct CapturedDidChangeMessage

Members (6)

static · iOS 26.0+

makeMessage

TypeScript
static makeMessage(notification: _Foundation_Notification): Promise<(UIScreen_CapturedDidChangeMessage) | null>
Swift declaration
@MainActor static func makeMessage(_ notification: Notification) -> UIScreen.CapturedDidChangeMessage?

Converts a posted notification into this main actor message type for any observers. To implement this method in your own `MainActorMessage` conformance, retrieve values from the ``Notification``'s ``Notification/userInfo`` and set them as properties on the message. - Parameter notification: The posted ``Notification``. - Returns: The converted `MainActorMessage` or `nil` if conversion is not possible.

static · iOS 26.0+

makeNotification

TypeScript
static makeNotification(message: UIScreen_CapturedDidChangeMessage): Promise<_Foundation_Notification>
Swift declaration
@MainActor static func makeNotification(_ message: UIScreen.CapturedDidChangeMessage) -> Notification

Converts a posted main actor message into a notification for any observers. To implement this method in your own `MainActorMessage` conformance, use the properties defined by the message to populate the ``Notification``'s ``Notification/userInfo``. - Parameters: - message: The posted `MainActorMessage`. - Returns: The converted ``Notification``.

get · iOS 26.0+

name

TypeScript
static get nameValue(): Promise<_Foundation_NSNotification_Name>
Swift declaration
static var name: Notification.Name { get }

A optional name corresponding to this type, used to interoperate with notification posters and observers.

get · iOS 26.0+

screen

TypeScript
get screen(): Promise<UIScreen>
Swift declaration
var screen: UIScreen
set · iOS 26.0+

screen

TypeScript
setScreen(value: UIScreen): Promise<void>
Swift declaration
var screen: UIScreen
init · iOS 26.0+

init

TypeScript
static init(screen: UIScreen): Promise<UIScreen_CapturedDidChangeMessage>
Swift declaration
init(screen: UIScreen)

Skipped declarations

No declarations were skipped in this snapshot.

All UIKit types →