Question

I could get the keyboard to work but on a UITextView but some how the new line key doesn't show up.

please help me

thanks

Was it helpful?

Solution

Set the (UIKeyboardType)keyboardType and (UIReturnKeyTYpe) returnKeyType The options are documented here

http://developer.apple.com/iPhone/library/documentation/UIKit/Reference/UITextInputTraits_Protocol/Reference/UITextInputTraits.html#//apple_ref/occ/intf/UITextInputTraits

if you are building in code.

If you are using IB then just go to the first inspector panel and set the TextInputTraits

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top