开发者

Only half of last tableview cell is visible when scrolled to the bottom

I have a tableview and when i scroll to the bottom of it and release my finger, only half of the cell is visible. If i keep draggaing towards the bottom the whole cell sh开发者_StackOverflow社区ow and then hides when i release my finger.

Only half of last tableview cell is visible when scrolled to the bottom

Any idea?


The frame of your tableView seems to be set to a wrong frame. Reset the frame like this:

CGRect tableViewFrame = [tableView frame];
tableViewFrame.size.height -= heightOfButtonBar;
tableViewFrame.origin.y += heightOfButtonBar;
[tableView setFrame: tableViewFrame]; 
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜