In objective-c I can just say the following.
[self.promoTextField setKeyboardType:UIKeyboardTypeEmailAddress];
I tried googling it but just ge
Try it in Swift 3:
let emailTextField: UITextField = { let text = UITextField() text.keyboardType = .emailAddress return text }()