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

how can i recognize the page leave? #16

Open
ivanyang1984 opened this issue Jan 8, 2016 · 2 comments
Open

how can i recognize the page leave? #16

ivanyang1984 opened this issue Jan 8, 2016 · 2 comments

Comments

@ivanyang1984
Copy link

how can i recognize the page leave? i now have a requirement like if the page shows , there is a notification appears from top. then i need the notification hide when the pages leave , because i assume i made every notification view for each page.

@ivanyang1984
Copy link
Author

and i am now using the rznotification view, I have a special case : i need present the notification in A page, then i tried to let it stay there until i click it. but when the page B was pushed, i need the notification of A hide. then i manually invoke the rznotificationview hide method in A 's viewdiddisappear , but b's notification was dismissed as well. how can i correctly use it?

@time4Wiley
Copy link

@ivanyang1984 Looks like a lifecycle relevant issue, what about hiding the rznotifcationView in A's viewWillDisappear?

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