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:[NSArray arrayWithObject:[NSIndexPath
indexPathForRow:(chatMessages.count - 1) inSection:0]]
withRowAnimation:UITableViewRowAnimationLeft];
[tableview endUpdates];

if (tableview.tableFooterView)
        [tableview scrollRectToVisible:CGRectMake(0,
tableview.contentSize.height+64, 320, 44) animated:YES];


Tharindu Madushanka
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to