UAInAppMessageSceneManager

@interface UAInAppMessageSceneManager : NSObject

Scene manager for in-app messages.

  • In-app scene delegate.

    Declaration

    Objective-C

    @property (readwrite, nonatomic)
        id<UAInAppMessageSceneDelegate> _Nullable delegate;

    Swift

    weak var delegate: UAInAppMessageSceneDelegate? { get set }
  • Shared instance.

    Declaration

    Objective-C

    + (nonnull instancetype)shared;

    Swift

    class func shared() -> Self
  • Called to get the scene for an in-app message.

    Declaration

    Objective-C

    - (nullable UIWindowScene *)sceneForMessage:(nonnull UAInAppMessage *)message;

    Swift

    func scene(for message: UAInAppMessage) -> UIWindowScene?

    Parameters

    message

    The message.

    Return Value

    A window scene if available, or nil.