Sinch Verification Swift 3
问题 I have been converting my code to swift 3. I have an issue with since verification: This is the code I have: verification.initiate { (success:Bool, error:Error?) -> Void in //handle outcome if (success){ print("successfully requested phone verification") //segue to next screen self.performSegue(withIdentifier: "xxx", sender: nil) } else { let alert = UIAlertController(title: "Alert", message: error?.localizedDescription, preferredStyle: .alert) alert.addAction(UIAlertAction(title: "Ok", style