views:

80

answers:

1

Hi all,

I want to add a view after the last cell of tableview. I need to define the frame for it. If I want to add something before the first cell, then I can set the frame as

refreshHeaderView = [[EGORefreshTableHeaderView alloc] initWithFrame:CGRectMake(0.0f, 0.0f - self.view.bounds.size.height,320.0f, self.view.bounds.size.height)];

But how to find the y coordinate of the frame of view to be set after the last cell.

Thanx in advance.

+2  A: 

The tableview subclasses scrollView, so, to answer your question, you can use contentSize, however, can you use the footerView to achieve what you want anyway ?

Andiih
Thank you so much Andiih, I wasn't aware of this..
neha
How do you obtain the value for y-coordinate of contentoffset of the end of tableview?
neha