Skip to content

Add support for identifying alerts by message. #246

@ghost

Description

SLAlert currently only matches alerts by title, but alerts don't actually have to have titles. Therefore it would be nice to add support for matching alerts by text (the "message" provided to -[UIAlertView initWithTitle:message:delegate:cancelButtonTitle:otherButtonTitles:]).

This would involve adding an +alertWithMessage: constructor to SLAlert, and modifying -[SLAlert isEqualToUIAAlertPredicate] to compare messages if the SLAlert had not been initialized with a title.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions