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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ios/sdk/WeexSDK/Sources/Component/WXListComponent.m
Original file line number Diff line number Diff line change
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