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

haskell - Using filter on an item in a list? -

c# - When does PreApplicationStartMethod actually get triggered to run? -

c# - Binding attached property to IEnumerable -