Type Alias

UIViewControllerRepresentable.Context

No overview available.

See Also

Creating and Updating the View Controller

func makeUIViewController(context: Self.Context) -> Self.UIViewControllerType

Creates the view controller object and configures its initial state.

Required.

func updateUIViewController(Self.UIViewControllerType, context: Self.Context)

Updates the state of the specified view controller with new information from SwiftUI.

Required.

struct UIViewControllerRepresentableContext

Contextual information about the state of the system that you use to create and update your UIKit view controller.

associatedtype UIViewControllerType

The type of view controller to present.

Required.