Usha Kommuri
Usha Kommuri

Reputation: 71

How to display keyboard for TLF Textfield?

My app contains login screen so i want to display keyboard whenever i click on username field but username text field is TLF TextField.In this case keyboard not appearing..is there any way to display keyboard for tlf textfield ?

Upvotes: 1

Views: 482

Answers (1)

Usha Kommuri
Usha Kommuri

Reputation: 71

Finally i got solution.for this we need to set textfield.needsSoftKeyboard = true and onclick on textfield call textfield.requestSoftKeyboard() method

Upvotes: 1

Related Questions