Type Alias

UIViewRepresentable.Context

No overview available.

Declaration

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.

associatedtype UIViewType

The type of view to present.

Required.