I am implementing Custom keyboard by sub-classing UIInputViewController.
i want to implement keyboard for emailAddress.
I have Xcode :- 8.1 iOS :-10.1 and swift version :- 3.0
I am trying code to find keyboardType
textDocumentProxy.keyboardType?.rawValue
(textDocumentProxy as UIKeyInput).keyboardType?.rawValue
But this two lines alway giving 0 that is Default keyboard type.
any one help me please.