UADefaultMessageCenterMessageViewController

Objective-C

@interface UADefaultMessageCenterMessageViewController : UIViewController

Swift

class UADefaultMessageCenterMessageViewController : UIViewController

Default implementation of a view controller for reading Message Center messages.

  • The message view delegate.

    Declaration

    Objective-C

    @property (nonatomic, weak, nullable) id<UAMessageCenterMessageViewDelegate> delegate;

    Swift

    weak var delegate: UAMessageCenterMessageViewDelegate? { get set }
  • The UAInboxMessage being displayed.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) UAInboxMessage *message;

    Swift

    var message: UAInboxMessage? { get }
  • Disables 3D touching and long pressing on links in messages.

    Declaration

    Objective-C

    @property (nonatomic) BOOL disableMessageLinkPreviewAndCallouts;

    Swift

    var disableMessageLinkPreviewAndCallouts: Bool { get set }
  • Load a UAInboxMessage by message ID.

    Declaration

    Objective-C

    - (void)loadMessageForID:(nullable NSString *)messageID;

    Swift

    func loadMessage(forID messageID: String?)

    Parameters

    messageID

    The message ID of the message.

  • Clears the message view and shows the default label indicating no message is selected.

    Declaration

    Objective-C

    - (void)clearMessage;

    Swift

    func clearMessage()