UIAlertController (ActionSheet) - Unable to simultaneously satisfy constraints [duplicate]
问题 This question already has answers here : Swift default AlertViewController breaking constraints (3 answers) Closed 8 months ago . I'm getting this warning every time an UIAlertController action sheet is presented in a simulated phone. The code is nothing fancy. let action1 = UIAlertAction(title: "Action 1", style: .default) { _ in } let action2 = UIAlertAction(title: "Action 2", style: .default) { _ in } let cancel = UIAlertAction(title: "Cancel", style: .cancel, handler: nil) let alert =