Re: Scrolling table view when the keyboard appears

2016-05-24 Thread Doug Hill
> On May 24, 2016, at 4:38 PM, Doug Hill wrote: > > >> On May 24, 2016, at 3:48 PM, Kyle Sluder wrote: >> >> On Tue, May 24, 2016, at 05:46 PM, Kyle Sluder wrote: >>> On Tue, May 24, 2016, at 05:37 PM, Alex Zavatone wrote: On May 24, 2016, at 4:02 PM, Kyle Sluder wrote: >

Re: Scrolling table view when the keyboard appears

2016-05-24 Thread Doug Hill
> On May 24, 2016, at 3:48 PM, Kyle Sluder wrote: > > On Tue, May 24, 2016, at 05:46 PM, Kyle Sluder wrote: >> On Tue, May 24, 2016, at 05:37 PM, Alex Zavatone wrote: >>> >>> On May 24, 2016, at 4:02 PM, Kyle Sluder wrote: >>> On Tue, May 24, 2016, at 12:33 PM, Doug Hill wrote: > OK,

Re: Scrolling table view when the keyboard appears

2016-05-24 Thread Doug Hill
> On May 24, 2016, at 1:02 PM, Kyle Sluder wrote: > > On Tue, May 24, 2016, at 12:33 PM, Doug Hill wrote: >> OK, this might have been more obvious to people, but it finally came to >> me how to handle the keyboard display. >> >> Instead of changing the view size, I move the center of the view up

Re: Scrolling table view when the keyboard appears

2016-05-24 Thread Kyle Sluder
On Tue, May 24, 2016, at 05:46 PM, Kyle Sluder wrote: > On Tue, May 24, 2016, at 05:37 PM, Alex Zavatone wrote: > > > > On May 24, 2016, at 4:02 PM, Kyle Sluder wrote: > > > > > On Tue, May 24, 2016, at 12:33 PM, Doug Hill wrote: > > >> OK, this might have been more obvious to people, but it fina

Re: Scrolling table view when the keyboard appears

2016-05-24 Thread Kyle Sluder
On Tue, May 24, 2016, at 05:37 PM, Alex Zavatone wrote: > > On May 24, 2016, at 4:02 PM, Kyle Sluder wrote: > > > On Tue, May 24, 2016, at 12:33 PM, Doug Hill wrote: > >> OK, this might have been more obvious to people, but it finally came to > >> me how to handle the keyboard display. > >> > >>

Re: Scrolling table view when the keyboard appears

2016-05-24 Thread Alex Zavatone
On May 24, 2016, at 4:02 PM, Kyle Sluder wrote: > On Tue, May 24, 2016, at 12:33 PM, Doug Hill wrote: >> OK, this might have been more obvious to people, but it finally came to >> me how to handle the keyboard display. >> >> Instead of changing the view size, I move the center of the view up, th

Re: Scrolling table view when the keyboard appears

2016-05-24 Thread Kyle Sluder
On Tue, May 24, 2016, at 12:33 PM, Doug Hill wrote: > OK, this might have been more obvious to people, but it finally came to > me how to handle the keyboard display. > > Instead of changing the view size, I move the center of the view up, then > apply a content inset to the table to adjust for th

Re: Scrolling table view when the keyboard appears

2016-05-24 Thread Doug Hill
OK, this might have been more obvious to people, but it finally came to me how to handle the keyboard display. Instead of changing the view size, I move the center of the view up, then apply a content inset to the table to adjust for the part of the table offscreen. Animations seem to work much

Scrolling table view when the keyboard appears

2016-05-20 Thread Doug Hill
I’m implementing a chat message view with a table view and a text field underneath it. I want the most recent messages at the bottom, and the scroll position always to stay at the last row in the table. There are some tricks to making sure the table scrolls to the bottom when it’s first drawn a