UAMessageCenterListViewDelegate

Objective-C

@protocol UAMessageCenterListViewDelegate <NSObject>

Swift

protocol UAMessageCenterListViewDelegate

Protocol for delegating message list behavior.

  • Whether the list view should deselect active cells when appearing. If implemented, this callback will override the embedded tableView’s default behavior.

    Declaration

    Objective-C

    - (BOOL)shouldClearSelectionOnViewWillAppear;

    Swift

    func shouldClearSelectionOnViewWillAppear() -> Any!

    Return Value

    YES if the list view should deselect active cells when appearing, NO otherwise.

  • Informs the delegate that a message was selected in the list view controller.

    Declaration

    Objective-C

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

    Swift

    func didSelectMessage(withID messageID: Any!)

    Parameters

    messageID

    The selected message ID, or nil if a message is no longer selected.