We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
in MPNotificationView.m
at handleTap()
if (_tapBlock != nil) { _tapBlock(self); }
if ([_delegate respondsToSelector:@selector(tapReceivedForNotificationView:)]) { [_delegate didTapOnNotificationView:self]; } [[NSNotificationCenter defaultCenter] postNotificationName:kMPNotificationViewTapReceivedNotification object:self];
change to
if (_tapBlock != nil) { _tapBlock(self); } else if ([_delegate respondsToSelector:@selector(didTapOnNotificationView:)]) { [_delegate didTapOnNotificationView:self]; } else { [[NSNotificationCenter defaultCenter] postNotificationName:kMPNotificationViewTapReceivedNotification object:self]; }
The text was updated successfully, but these errors were encountered:
yes, same problem here, if ([_delegate respondsToSelector:@selector(tapReceivedForNotificationView:)]) will never be true, any fix already?
Sorry, something went wrong.
6b25d45
why always post notification?
Why not?
Sent from my iPhone
On 01.08.2014, at 11:46, mjspawn notifications@github.com wrote: why always post notification? — Reply to this email directly or view it on GitHub.
On 01.08.2014, at 11:46, mjspawn notifications@github.com wrote:
— Reply to this email directly or view it on GitHub.
No branches or pull requests
in MPNotificationView.m
at handleTap()
if (_tapBlock != nil)
{
_tapBlock(self);
}
change to
if (_tapBlock != nil)
{
_tapBlock(self);
} else if ([_delegate respondsToSelector:@selector(didTapOnNotificationView:)])
{
[_delegate didTapOnNotificationView:self];
} else
{
[[NSNotificationCenter defaultCenter] postNotificationName:kMPNotificationViewTapReceivedNotification
object:self];
}
The text was updated successfully, but these errors were encountered: