forkingdog / forkingdog/UITableView-FDTemplateLayoutCell

使用fd_heightForCellWithIdentifier:cacheByKey:有点问题

Open
#250 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
9.9k
Forks
2k
PR merge metrics
No merged PRs in 30d

Description

使用使用fd_heightForCellWithIdentifier:cacheByKey:出现问题。我使用另外两个方法,然后打印高度,cacheByKey计算出来的高度和另外两个方法计算出来是不一样的,要多出很多,导致我lable高度增加了很多。如果下拉刷新清除缓存,cacheByKey就计算正确
![11](https://cloud.githubusercontent.com/assets/15721682/19759212/74bad914-9c5e-11e6-8b4a-a2e5f52bade9.png)
![12](https://cloud.githubusercontent.com/assets/15721682/19759211/74bab038-9c5e-11e6-8353-83c768b95892.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.