Re: Displaying an edit field in a cell at the bottom of the tableview
Re: Displaying an edit field in a cell at the bottom of the tableview
- Subject: Re: Displaying an edit field in a cell at the bottom of the tableview
- From: Laurent Daudelin <email@hidden>
- Date: Mon, 2 Aug 2010 09:18:52 -0700
On Aug 2, 2010, at 07:36, Fritz Anderson wrote:
> On 1 Aug 2010, at 11:44 PM, Laurent Daudelin wrote:
>
>> Maybe a stupid question but I have 5 cells in a section of my tableview. When I move the cursor to edit cell 3, it's partially obscured by the keyboard. I can't even see cell 4 and cell 5. Surely there must be a way to make the cell visible for editing? My tableview is embedded in a view that also contains a toobar at the bottom, if that matters.
>
> You didn't mention explicitly that you were working on iOS till your second message.
>
> You have to detect the emergence of the keyboard, determine its height, and shrink the table view by that amount; regrow it when the keyboard retreats. The main iPhone programming guide has a complete example.
Thanks, Fritz, I'll check it out.
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/
Logiciels Nemesys Software email@hidden_______________________________________________
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