Contents

init(windowScene:actionHandler:)

Creates a UI update link for the specified window using the specified action handler.

Declaration

init(windowScene: UIWindowScene, actionHandler handler: @escaping (UIUpdateLink, UIUpdateInfo) -> Void)

Discussion

This initializer adds the action to the beforeCADisplayLinkDispatch phase. To specify a different phase, use addAction(to:handler:) or addAction(to:target:selector:) instead.

See Also

Creating a UI update link