summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS/Renderers/TableViewModelRenderer.cs
diff options
context:
space:
mode:
authorJason Smith <jason.smith@xamarin.com>2016-12-14 12:38:46 -0800
committerRui Marinho <me@ruimarinho.net>2016-12-14 20:38:46 +0000
commit9535315986c6ad5d51ec28f676310b9a5f7d444c (patch)
treed0492d1c6c35581040ca76aff4dc577c7227c840 /Xamarin.Forms.Platform.iOS/Renderers/TableViewModelRenderer.cs
parenteca25db80eebc2e7936f154246ed7996f6d071a1 (diff)
downloadxamarin-forms-9535315986c6ad5d51ec28f676310b9a5f7d444c.tar.gz
xamarin-forms-9535315986c6ad5d51ec28f676310b9a5f7d444c.tar.bz2
xamarin-forms-9535315986c6ad5d51ec28f676310b9a5f7d444c.zip
Deprecate versions of iOS older than 8 (#630)
Diffstat (limited to 'Xamarin.Forms.Platform.iOS/Renderers/TableViewModelRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.iOS/Renderers/TableViewModelRenderer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.iOS/Renderers/TableViewModelRenderer.cs b/Xamarin.Forms.Platform.iOS/Renderers/TableViewModelRenderer.cs
index 4a9f694d..b8a6fc95 100644
--- a/Xamarin.Forms.Platform.iOS/Renderers/TableViewModelRenderer.cs
+++ b/Xamarin.Forms.Platform.iOS/Renderers/TableViewModelRenderer.cs
@@ -137,7 +137,7 @@ namespace Xamarin.Forms.Platform.iOS
var cell = View.Model.GetCell(indexPath.Section, indexPath.Row);
var h = cell.Height;
- if (View.RowHeight == -1 && h == -1 && cell is ViewCell && Forms.IsiOS8OrNewer) {
+ if (View.RowHeight == -1 && h == -1 && cell is ViewCell) {
return UITableView.AutomaticDimension;
} else if (h == -1)
return tableView.RowHeight;