Open r-shayestehpour opened 8 years ago
Same problem here.
Turned out it expects an array of responders:
kCRToastInteractionRespondersKey: [interactionResponder!] as NSArray
I think I would prefer an object with settings over a dictionary, in that case the compiler would've yelled at me.
@LucasVanDongen
Does this workaround still work, since it doesn't for me (I use obj-c)
I can confirm that the solution LucasVanDongen gave works !
I have this swift code:
I think the interaction responder should dismiss the notification on any user interaction but not only it does not do that, but also the closure is not called("HELLO is never printed on interactions"). What am I doing wrong?