Изменение этих строк с
uncheckInAlert.addAction(UIAlertAction(title: "Cancel", style: .cancel, handler: nil))
К
uncheckInAlert.addAction(UIAlertAction(title: "Cancel", style: .default, handler: nil))
let uncheckInAlert = UIAlertController(title: "Are you sure you want to uncheck-in?", message: "", preferredStyle: .alert)
К
let uncheckInAlert = UIAlertController(title: "Are you sure you want to uncheck-in?", message: "", preferredStyle: .actionSheet)
Это покажет параметр cancel
, сгруппированный с другими параметрами.