Re: How to get rid of keyboard on iPhone
Re: How to get rid of keyboard on iPhone
- Subject: Re: How to get rid of keyboard on iPhone
- From: Roland King <email@hidden>
- Date: Tue, 13 Aug 2013 18:43:46 +0800
On 13 Aug, 2013, at 6:37 PM, Roland King <email@hidden> wrote:
>
> On 13 Aug, 2013, at 6:18 PM, Gerriet M. Denkmann <email@hidden> wrote:
>
>> 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.
>>
>
> No, the dismiss keyboard button on the keyboard is an iPad-only idiom, it's a bigger keyboard and the iPad is more suited to the idea that you have various fields on screen, you edit one and drop the keyboard when you're done. The iPhone idiom for editing depends on content, if you have a number of UITextFields then the 'return' key usually says you're done with it. In the case of a UITextField, with the keyboard up that's really your whole screen, so the most common idiom there is 'in edit mode' with the 'done' button on the navbar, if you have a navbar.
> _______________________________________________
.. and obviously for the second example I meant 'UITextView', one of those on-screen with a keyboard and it's getting pretty tight.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden