let alertController = UIAlertController(title: nil,message: "评分", preferredStyle: .alert)
let okAction = UIAlertAction(title: "现在评分", style: .destructive, handler: {
action in
})
let canclAction = UIAlertAction(title: "投诉", style: .destructive, handler: {
action in
})
let canclAction1 = UIAlertAction(title: "取消", style: .cancel, handler: {
action in
})
alertController.addAction(canclAction)
alertController.addAction(okAction)
alertController.addAction(canclAction1)
self.present(alertController, animated: true, completion: nil)