UIViewController
public extension UIViewController
extension UIViewController: HyperwalletFlowDelegate
extension UIViewController: UIAdaptivePresentationControllerDelegate
The UIViewController extension
-
To set the display mode for large titles
Declaration
Swift
@MainActor func titleDisplayMode(_ mode: UINavigationItem.LargeTitleDisplayMode, for title: String?)Parameters
modeUINavigationItem.LargeTitleDisplayMode
titletitle displayed
-
Hide keyboard when tapped around on the screen
Declaration
Swift
@MainActor func hideKeyboardWhenTappedAround() -
Protocol method
Declaration
Swift
@objc @MainActor open func didFlowComplete(with response: Any) -
The reference to call didFlowComplete
Declaration
Swift
@MainActor public weak var flowDelegate: HyperwalletFlowDelegate? { get set } -
The reference to start/navigate Hyperwallet UI SDK flow
Declaration
Swift
@MainActor public var coordinator: HyperwalletCoordinator? { get set } -
Data required to initialize a flow (render UI screen)
Declaration
Swift
@MainActor public var initializationData: [InitializationDataField : Any]? { get set } -
Removes the current coordinator while moving back
Declaration
Swift
@MainActor public func removeCoordinator() -
Removes the current flow delegate while moving back
Declaration
Swift
@MainActor public func removeFlowDelegate() -
Removes the current coordinator while moving back
Declaration
Swift
@MainActor public func removeInitializedData() -
Removes all coordinators
Declaration
Swift
@MainActor public func removeAllCoordinators() -
Removes the current coordinator after dismissing the Controller
Declaration
Swift
@MainActor public func presentationControllerDidDismiss(_ presentationController: UIPresentationController)
View on GitHub