我知道您可以添加文本字段,但可以將標籤添加到UIAlertController
?在UIAlertController中添加一個標籤?
alertController.addTextFieldWithConfigurationHandler({(textField: UITextField!) in
textField.placeholder = "Hyperlink"
inputTextField = textField
inputTextField?.text="www.google.com"
})
^^文本字段
你可以顯示你需要哪種類型的輸出嗎 –
你爲什麼要添加一個自定義標籤? –
我想添加一個超鏈接網址,並且我知道如何去做的方式是使用標籤 – Snorlax