MiniAppViewController
public class MiniAppViewController : UIViewController
extension MiniAppViewController: MiniAppNavigationDelegate
ViewController that can be used by Host app to display a MiniApp
-
Undocumented
Declaration
Swift
public lazy var fallbackView: MiniAppFallbackViewable { get set }
-
Undocumented
Declaration
Swift
public override func viewDidLoad()
-
Overridden viewDidAppear to send analytics
Declaration
Swift
public override func viewDidAppear(_ animated: Bool)
-
Overridden viewWillDisappear to send analytics
Declaration
Swift
public override func viewWillDisappear(_ animated: Bool)
-
Undocumented
Declaration
Swift
@objc public func backPressed()
-
Undocumented
Declaration
Swift
@objc public func forwardPressed()
-
Undocumented
Declaration
Swift
@objc public func closePressed()
-
Method that is called when navigation buttons need to be refreshed
Declaration
Swift
public func refreshNavigationBarButtons(backButtonEnabled: Bool, forwardButtonEnabled: Bool)
-
Undocumented
Declaration
Swift
@objc public func sharePressed()
-
Undocumented
Declaration
Swift
public func closeMiniApp(withConfirmation confirmation: Bool)
-
will be used soon when knowing the cases to react to
Declaration
Swift
public func miniAppNavigation(shouldOpen url: URL, with responseHandler: @escaping MiniAppNavigationResponseHandler)