STRUCT
HaapiFlowVCRepresentable
Contents
- Methods
makeUIViewController(context:)
updateUIViewController(_:context:)
public struct HaapiFlowVCRepresentable: UIViewControllerRepresentable
A UIViewControllerRepresentable
that wraps the framework's HaapiFlowViewController
so that it can be used in custom presentation modes.
Methods
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. |