KyoheiG3 / SimpleAlert

Customizable simple Alert and simple ActionSheet for Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!!!