let alertVC : UIAlertController = UIAlertController.init(title: "是否拨打报警电话:10086", message: "", preferredStyle: .alert)
let falseAA : UIAlertAction = UIAlertAction.init(title: "取消", style: .cancel, handler: nil)
let trueAA : UIAlertAction = UIAlertAction.init(title: "确定", style: .default) { (alertAction) in
//拨打电话进行报警
UIApplication.shared.openURL(NSURL.init(string: "tel://10086")! as URL)
}
alertVC.addAction(falseAA)
alertVC.addAction(trueAA)
self.present(alertVC, animated: true, completion: nil)