Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

[WEEX-119][iOS] disable tableview estimation row or section height. #867

Merged
merged 1 commit into from Nov 16, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions ios/sdk/WeexSDK/Sources/Component/WXListComponent.m
Expand Up @@ -155,6 +155,10 @@ - (void)viewDidLoad
_tableView.delegate = self;
_tableView.dataSource = self;
_tableView.userInteractionEnabled = YES;

_tableView.estimatedRowHeight = 0;
_tableView.estimatedSectionFooterHeight = 0;
_tableView.estimatedSectionHeaderHeight = 0;
}

- (void)viewWillUnload
Expand Down