Open vayuzKrishna opened 8 years ago
you can hold a reference to the textfield you add to the alert view, and then set the keyboard type on it before showing.
Pretty Easy in Swift. You could get the textField instance by "let phoneField = alert.addTextField("placeHolder")". And then set the textField whatever you like. Ex. phoneField?.keyboardType = .numberPad etc.
I need to input only numeric value from alert and i dont have any option to set keyboard type as numberpad in this library. please suggest me any fix for that ASAP.and update in this library.
Thanks in advanced.