title: How to set default text for addTextField in UIAlertController in Swift
body: <p>Below is the the code I tried. textField.placeholder works perfectly, I need to set default text for textfield created using addTextField in UIAlertController.</p>
  
  <pre><code>      let getPinNameAlert = UIAlertController(title: title, message: message, preferredStyle: .alert)
        getPinNameAlert.addTextField(configurationHandler: { (textField) -&gt; Void in
        // textField.placeholder = "Pin Name"
        textField.text = "Current Pin Name"
        textField.keyboardType = UIKeyboardType.default
        textField.clearsOnBeginEditing = true
      })
  </code></pre>