TextField
opened this issue · comments
How can i use(get) texttfield text after OK button pressed(for example). THANK YOU:)
You can get textFields
of alert
:
alert.addAction(SimpleAlert.Action(title: "OK", style: .OK) { action in
alert.textFields.first?.text
})
Cool! Thank You!!!