InjectedViewAdapter

public protocol InjectedViewAdapter

Adapter for injectable views. It allows clients to inject their own views into our layouts.

  • Called when the custom view is required. It will be injected into the SDK’s layout.

    Declaration

    Swift

    func injectedView() -> UIView
  • Called when the view is destroyed/deinitialized.

    Declaration

    Swift

    func onDeinit()