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

Call notification after dismiss #61

Closed
vietnguyen09 opened this issue Apr 27, 2016 · 1 comment
Closed

Call notification after dismiss #61

vietnguyen09 opened this issue Apr 27, 2016 · 1 comment

Comments

@vietnguyen09
Copy link

vietnguyen09 commented Apr 27, 2016

Hi there,

I want to make a NSNotificationCenter when popup is dismiss but it isn't work.

First I using NSNotificationCenter to register login_success event.

[[NSNotificationCenter defaultCenter] postNotificationName:@"login_success" object:nil];
[self.popupController dismiss];

And then I call it in parent view.

  • (void)viewDidAppear:(BOOL)animated
    {
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(chot_so_login_success) name:@"chot_so_login_success" object:nil];
    }

But nothing happen, how can I handler event after popup closed?

Thanks for help

@khunshan
Copy link

is it resolved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants