CRToast
CRToast copied to clipboard
Feature request: ability to add a button
It would be great if one could add a button that triggers an execution block to the right or left of the Toast. That way for example a dismiss button could easily be implemented. I'm thinking about something along the those lines:
kCRToastButtonImage : [UIImage imageNamed:@"ToastDismissButtonImage"],
kCRToastButtonAlignmentKey : @(CRToastAccessoryViewAlignmentRight),
kCRToastButtonExecutionBlock : ...
+1
any one got solution how to add button on notification view.
I would just add a key for a button like images are added.
An alternative i guess would be adding the text swipe to close tap to accept or something along those lines but that solution kinda isnt optimal at all
+1