macOS, iOS
[iOS] alert에 text field 추가하는 법
SweetDev
2019. 8. 28. 14:55
alert.addTextField(configurationHandler: { (tf) in
tf.placeholder = "암호"
tf.isSecureTextEntry = true
})
self.present(alert, animated: false)