objective c - Remove the "Dismiss keybard" key from a UITextView's keyboard on iPad -


i have modal view uitextview, , user can enter text (or not) , close modal view. there no point of dismissing keyboard not dismiss modal view (this on purpose), , uitextview without keyboard looks silly.

is there way hide or remove "dismiss keyboard" key keyboard?

you can't hide or remove key, can disable using uitextviewdelegate protocol:

- (bool)textviewshouldendediting:(uitextview *)textview {      return no; } 

if uikit forces responder resign despite delegate (doubtful, haven't looked closely @ call stack), can force keyboard stay observing uikeyboarddidhidenotification , setting first responder uitextview: [myuitextview becomefirstresponder]


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -