phone pad support added

This commit is contained in:
Damodaram 2020-07-30 10:48:49 +05:30
parent 8b48725c51
commit 7739b28306
2 changed files with 4 additions and 0 deletions

View File

@ -323,6 +323,9 @@ import UIKit
case .email: case .email:
textField.keyboardType = .emailAddress textField.keyboardType = .emailAddress
case .phone:
textField.keyboardType = .phonePad
default: default:
break break
} }

View File

@ -18,6 +18,7 @@
case number case number
case email case email
case text case text
case phone
} }
//-------------------------------------------------- //--------------------------------------------------