Closed Xpressive closed 7 years ago
What if, instead of using CRToastInteractionType.tap
you try CRToastInteractionType.tap.rawValue
in the let responder
line. I wonder if maybe it may have to do with not getting the literal value though when it does the check maybe?
@dmiedema I'v got an error "Cannot convert value of type 'Int' to expected argument type 'CRToastInteractionType'"
I'm not sure then - i'd need to make a test project or something to investigate further. Was hoping it was something simple
I have just made checkout to another branch, and checkout back after some time. And now it works! Don't know what to say..
After upgrading to Swift 3, my app starts crashing when i add InteractionResponder to notification options. Here is my code:
Exception is thrown in this method:
line:
if (CRToastInteractionResponderIsGenertic(interactionResponder.interactionType)) {
Any ideas how to fix this?