Cancel需要用UIAlertActionStyleCancel这个属性
UIAlertAction *cancel = [UIAlertAction actionWithTitle:@"Cancel" style:(UIAlertActionStyleCancel) handler:^(UIAlertAction * _Nonnull action) {
}];
ActionSheet点空白处不dismiss问题
原文:https://www.cnblogs.com/yibinpan/p/14148985.html