开发者

UITableView, How to fix footer so that it never moves up or down while scrolling?

UITableView, How to开发者_高级运维 fix footer so that it never moves up or down while scrolling? I've got only one single section in viewDidLoad I setup view for the footer:

self.tableView.tableFooterView=[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"top.png"]];

but it moves up/down while scrolling, it there a way to get it fixed? thanks

please don't tell me to resize Table View for separated footer, because in split-view application you can't resize it(((


You could just make a new subview and place it under your table.


You can try

tableview.bounces = NO;
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜