contentSize is the correct way to do this. It gives a ‘buffer zone’ at the top
and bottom (and sides if you wish) on the scroll view.
On May 1, 2010, at 11:04 PM, Luke the Hiesterman wrote:
> UITableView is a subclass of UIScrollView. So, you can ask for its
> contentSize and then call scrollR
if by footer view, you mean content that is at the end of a table view, I
suggest you read the UIScrollView Guide, specifically the issues regarding
contentOffset.
On May 2, 2010, at 11:14 AM, Scott Andrew wrote:
> What about making the rect your view's actual bounds. Something like...
>
> C
What about making the rect your view's actual bounds. Something like...
CGRect footerBounds = [footerView bounds];
CGRect footerRectInTable = [tableView convertRect:footerBounds
fromView:footerView];
[tableView scrollToRect:footerRectInTable animated:YES];
This should scroll to the footer view
Actually this doesn't seem to scroll to footer view :(
Following is the code I have, i am continuously adding cells. Now I want to
scroll to bottom footer view. Following code doesn't seem to scroll to the
most bottom footer view.
[tableview beginUpdates];
[tableview insertRowsAtIndexPaths:[NSArr
On 1 May 2010, at 9:52 PM, Tharindu Madushanka wrote:
> How can I scroll to a UITableView footer all the time, while adding cells to
> table view content.
>
> Is there some way similar to scrollToRowAtIndexPath: , to scroll directly
> into my bottom footer view after adding new cells ?
What succ
UITableView is a subclass of UIScrollView. So, you can ask for its contentSize
and then call scrollRectToVisible:animated: with a rect that lies at the end of
the contentSize.
Luke
On May 1, 2010, at 7:52 PM, Tharindu Madushanka wrote:
> Hi,
>
> How can I scroll to a UITableView footer all th
Hi,
How can I scroll to a UITableView footer all the time, while adding cells to
table view content.
Is there some way similar to scrollToRowAtIndexPath: , to scroll directly
into my bottom footer view after adding new cells ?
Thank you and Kind Regards,
Tharindu Madushanak