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

What is the callback for? #139

Closed
rocxteady opened this issue Apr 25, 2014 · 3 comments
Closed

What is the callback for? #139

rocxteady opened this issue Apr 25, 2014 · 3 comments

Comments

@rocxteady
Copy link

Callback only gets called when I touch the message view.

It does not get called when it is finished or I slide up message view to dismiss.

I want to get notified when the message is gone. Is that possible?

@forgot
Copy link

forgot commented May 4, 2014

Subclass and post a notification in the UIView animation completion block of (void)fadeOutNotification:(TSMessageView *)currentView, then have your custom method listen for it to fire. If you do this, you'll be able to fire your method when the message is swiped away, fades away, or when you tap to dismiss it.

@mRs-
Copy link
Collaborator

mRs- commented May 6, 2014

I just created a fix for this in #140

@mRs-
Copy link
Collaborator

mRs- commented May 6, 2014

It's available in the newest version via cocoapods

This issue was closed.
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

3 participants