Fixed problem with iOS 7 and ListView rowHeight.

This commit is contained in:
Nedyalko Nikolov
2015-11-13 11:06:51 +02:00
parent 1ebb286091
commit 52c674a510
2 changed files with 11 additions and 2 deletions

View File

@@ -160,6 +160,15 @@ class UITableViewRowHeightDelegateImpl extends NSObject implements UITableViewDe
cell.highlighted = false;
return indexPath;
}
public tableViewHeightForRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): number {
let owner = this._owner.get();
if (!owner) {
return DEFAULT_HEIGHT;
}
return owner.rowHeight;
}
}
function onSeparatorColorPropertyChanged(data: dependencyObservable.PropertyChangeData) {