else if !isValidEmail(testStr: email.text!) { let alert = UIAlertController(title: "Alert!", message: "Please enter correct Email ID", preferredStyle: .alert) alert.addAction(UIAlertAction(title: "OK", style: .default, handler: nil)) self.present(alert, animated: true) return } else if (yes == 0) { // Here it is //How to show alert if radio button is not selected }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)