Closed lacusrinz closed 8 years ago
Please add custom event to action button.
let action = SimpleAlert.Action(title: "custom", style: .Cancel)
alert.addAction(action)
action.button.removeTarget(nil, action: nil, forControlEvents: .AllEvents)
action.button.addTarget(self, action: Selector("customAction:"), forControlEvents: .TouchUpInside)
Thank you, got it
How I can add my custom action such as validation when I click the button without dismiss the view