STRUCT

HaapiFlowVCRepresentable

Contents

public struct HaapiFlowVCRepresentable: UIViewControllerRepresentable

A UIViewControllerRepresentable that wraps the framework's HaapiFlowViewController so that it can be used in custom presentation modes.

Methods

init(contentViewController:presentationMode:)

public init(contentViewController: HaapiFlowViewController, presentationMode: PresentationMode)

makeUIViewController(context:)

public func makeUIViewController(context: Context) -> some UIViewController

Parameters

Name Description
context A context structure containing information about the current state of the system.

updateUIViewController(_:context:)

public func updateUIViewController(_ uiViewController: UIViewControllerType, context: Context)

Parameters

Name Description
uiViewController Your custom view controller object.
context A context structure containing information about the current state of the system.