Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dismiss all ZMJTipView programmatically #2

Open
skuske opened this issue Mar 1, 2018 · 2 comments
Open

Dismiss all ZMJTipView programmatically #2

skuske opened this issue Mar 1, 2018 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@skuske
Copy link

skuske commented Mar 1, 2018

Is there any way to dismiss all current TipViews programmatically? I want to dismiss all other TipViews before displaying a new one. Thanks.

@skuske
Copy link
Author

skuske commented Mar 1, 2018

Additionally: a 'DismissAfterSeconds' property would be usefull.

@keshiim keshiim added the help wanted Extra attention is needed label Mar 6, 2018
@CavalcanteLeo
Copy link

CavalcanteLeo commented Jun 29, 2018

    for (UIView *sub in self.view.subviews) {
        if ([sub isKindOfClass:[ZMJTipView class]]) {
            ZMJTipView *tip = (ZMJTipView *)sub;
            [tip dismissWithCompletion:^{}];
        }
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants