Closed mjspawn closed 10 years ago
yes, same problem here, if ([_delegate respondsToSelector:@selector(tapReceivedForNotificationView:)]) will never be true, any fix already?
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.
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]; }