Call resignFirstResponder in the textViewShouldReturn delegation method…
In addition: have a tap anywhere in the screen outside the textView call a 
dismiss as well



Op Aug 13, 2013, om 12:18 PM heeft "Gerriet M. Denkmann" <gerr...@mdenkmann.de> 
het volgende geschreven:

> I have an app with a textView on an iPad.
> When I touch it, a keyboard comes up. And when I have typed enough there is, 
> in the bottom right corner of the keyboard, a key, which makes the keyboard 
> disappear again.
> So far so good.
> 
> But when the same app runs on an iPhone, the keyboard has no such key.
> 
> What is the best way to get rid of the keyboard?
> 
> Currently I have added a button: "Dismiss Keyboard". 
> Is there an official Dismiss-Keyboard-Image somewhere (looking similar to the 
> one on the iPad keyboard) - to be used for this button?
> 
> Gerriet.
> 
> 
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/diederik%40tenhorses.com
> 
> This email sent to diede...@tenhorses.com


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to