开发者

Weird UITableView scrolling problem

开发者 https://www.devze.com 2023-01-07 05:45 出处:网络
I have a sectioned UITableView which loads data from a plist file. The table uses cu开发者_JAVA百科stom cells with dynamic height to fit the content of each cell. The table loads just fine initially,

I have a sectioned UITableView which loads data from a plist file. The table uses cu开发者_JAVA百科stom cells with dynamic height to fit the content of each cell. The table loads just fine initially, but after scrolling down and back up, the cells seem to be overlaying one another in some sections.

I've attached an image illustrating the issue I am having.

http://img20.imageshack.us/i/photo1b.png/

Any ideas on where to begin troubleshooting this problem?


You need to set height for each cell in

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
0

精彩评论

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