UAInAppMessageSceneManager

Objective-C


@interface UAInAppMessageSceneManager : NSObject

Swift

class InAppMessageSceneManager : NSObject

Scene manager for in-app messages.

  • In-app scene delegate.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) UAInAppMessageSceneManager *_Nonnull shared;

    Swift

    class var shared: InAppMessageSceneManager { get }
  • Called to get the scene for an in-app message.

    Declaration

    Objective-C

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

    Swift

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

    Parameters

    message

    The message.

    Return Value

    A window scene if available, or nil.