Closed ghost closed 7 years ago
How can i use(get) texttfield text after OK button pressed(for example). THANK YOU:)
You can get textFields of alert:
textFields
alert
alert.addAction(SimpleAlert.Action(title: "OK", style: .OK) { action in alert.textFields.first?.text })
Cool! Thank You!!!
How can i use(get) texttfield text after OK button pressed(for example). THANK YOU:)