UITableView(QMUIIndexPathHeightCacheInvalidation)

@interface UITableView (QMUIIndexPathHeightCacheInvalidation)

/// 当需要 reloadData 的时候,又不想使缓存失效,可以调用下面这个方法。注意,仅在 qmui_invalidateIndexPathHeightCachedAutomatically 为 YES 时才有意义。
- (void)qmui_reloadDataWithoutInvalidateIndexPathHeightCache;

@end

Undocumented

  • 当需要 reloadData 的时候,又不想使缓存失效,可以调用下面这个方法。注意,仅在 qmui_invalidateIndexPathHeightCachedAutomatically 为 YES 时才有意义。

    Declaration

    Objective-C

    - (void)qmui_reloadDataWithoutInvalidateIndexPathHeightCache;

    Swift

    func qmui_reloadDataWithoutInvalidateIndexPathHeightCache()