diff --git a/Example/MaLiang/ViewController.swift b/Example/MaLiang/ViewController.swift index b85793d..5ba5912 100644 --- a/Example/MaLiang/ViewController.swift +++ b/Example/MaLiang/ViewController.swift @@ -137,6 +137,7 @@ class ViewController: UIViewController { actionSheet.addAction(title: "Save", style: .default) { [unowned self] (_) in self.saveData() } + actionSheet.addAction(title: "Cancel", style: .cancel) present(actionSheet, animated: true, completion: nil) }