MiniAppUI

public class MiniAppUI

Mini App UI Public API methods

  • Singleton object for MiniAppUI Class

    Declaration

    Swift

    public class func shared() -> MiniAppUI

    Return Value

    Return MiniAppUI Object

  • Instance of MiniAppViewController

    Declaration

    Swift

    public func create(params: MiniAppUIParams) -> MiniAppViewController

    Parameters

    params

    MiniAppUIParams used for creating the MiniApp View

  • Launch a preconfigured NavigationController with an embedded MiniAppViewController

    Declaration

    Swift

    public func launch(base: UIViewController, params: MiniAppUIParams, delegate: MiniAppUIDelegate)

    Parameters

    base

    Base ViewController which is used for presenting the MiniApp (Fullscreen)

    params

    MiniAppUIParams used for creating the MiniApp View

    delegate

    MiniAppUIDelegate containing actions triggered by MiniAppViewController