UIViewType

The type of view to present.

Required.

Declaration

associatedtype UIViewType : UIView

See Also

Creating and Updating the View

func makeUIView(context: Self.Context) -> Self.UIViewType

Creates the view object and configures its initial state.

Required.

func updateUIView(Self.UIViewType, context: Self.Context)

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

Required.

struct UIViewRepresentableContext

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