Skip to content

How to replace the latest SCLAlertView? #187

Closed
@hdoria

Description

@hdoria

Hi,

I'm running the following code:

SCLAlertView *alert = [[SCLAlertView alloc] initWithNewWindow];
[alert showWaiting:@"Loading" subTitle:@"Please, wait" closeButtonTitle:nil duration:0.0f];

Is there a way to hide this alert automatically when I present a new one?

SCLAlertView *errorAlert = [[SCLAlertView alloc] initWithNewWindow];
[errorAlert showError:@"Error" subTitle:@"...." closeButtonTitle:@"Close" duration:0.0f];

Would be great if initWithNewWindow could hide the latest alert automatically. For now, I have to call hideView all the times.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions