Contents

viewWillAppear()

Notifies the view controller that its view is about to be added to a view hierarchy.

Declaration

@MainActor @preconcurrency override dynamic func viewWillAppear()

Discussion

The view controller uses this method to configure its interface.

See Also

Managing the view