IPhone-SDK: UITextView does not show newline key

I could make the keyboard work, but in a UITextView, but some like the new line key is not displayed.

Please help me

thanks

+3
source share
1 answer

Set keyboard type (UIKeyboardType) and (UIReturnKeyTYpe) returnKeyType Parameters are described here.

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

if you are building code.

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

+2
source

Source: https://habr.com/ru/post/1717287/


All Articles