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

how can i send to another viewcontroller after tap OK button? #19

Open
davut5 opened this issue Sep 3, 2015 · 1 comment
Open

how can i send to another viewcontroller after tap OK button? #19

davut5 opened this issue Sep 3, 2015 · 1 comment

Comments

@davut5
Copy link

davut5 commented Sep 3, 2015

self.dismissViewControllerAnimated(true, completion: nil) working but self.presentViewController(sampleviewcontroller(), animated:true, completion:nil) not working

@varkrishna
Copy link

varkrishna commented Feb 17, 2018

@davut5 you can do something like
_ = SweetAlert().showAlert("Are you sure?", subTitle: "You are navigating to other screen", style:
AlertStyle.warning, buttonTitle:"OK", buttonColor:UIColor.colorFromRGB(0xD0D0D0) ,
otherButtonTitle: "" ,otherButtonColor: UIColor.colorFromRGB(0xDD6B55), EnabledOutsideTap:
true) { (isOtherButton) -> Void in

            **// Code to navigate**

 `}`

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

2 participants