Skip to content
New issue

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

Feature request: ability to add a button #188

Open
luzianscherrer opened this issue Dec 17, 2015 · 4 comments
Open

Feature request: ability to add a button #188

luzianscherrer opened this issue Dec 17, 2015 · 4 comments

Comments

@luzianscherrer
Copy link

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 : ...

dismissbutton

@dogo
Copy link

dogo commented Jan 28, 2016

+1

@yogeshrathore123
Copy link

any one got solution how to add button on notification view.

@dmiedema
Copy link
Contributor

dmiedema commented Feb 8, 2016

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

@ivanmih
Copy link

ivanmih commented Jun 29, 2017

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants