开发者

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

开发者 https://www.devze.com 2023-03-31 05:40 出处:网络
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

精彩评论

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