How to increase the distance between textFields in UIAlertController in Xcode (Swift)?
func showAlert() { let alert: UIAlertController = UIAlertController(title: "Enter name", message: "Enter name", preferredStyle: .alert) alert.addTextField { (textField) in textField.placeholder = "name" } alert.addTextField { (textField) in textField.placeholder = "address" textField.isEnabled = false } let OKAction = UIAlertAction(title: "OK", style: .default) { action in } let cancelAction = UIAlertAction(title: "Cancel", style: .default) { action in } alert.addAction(cancelAction) alert.addAction(OKAction) self.present(alert, animated: true, completion: nil) } 
