From 6fb53b180a9da17c0205de3fa84c7a3497823872 Mon Sep 17 00:00:00 2001 From: Shane Neuville Date: Sat, 11 May 2019 12:07:49 -0700 Subject: [PATCH] remove safe area from inset (#6169) --- Xamarin.Forms.Platform.iOS/Renderers/ShellTableViewController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Xamarin.Forms.Platform.iOS/Renderers/ShellTableViewController.cs b/Xamarin.Forms.Platform.iOS/Renderers/ShellTableViewController.cs index cd48fce..d2e585c 100644 --- a/Xamarin.Forms.Platform.iOS/Renderers/ShellTableViewController.cs +++ b/Xamarin.Forms.Platform.iOS/Renderers/ShellTableViewController.cs @@ -28,7 +28,7 @@ namespace Xamarin.Forms.Platform.iOS void OnHeaderSizeChanged(object sender, EventArgs e) { _headerSize = HeaderMax; - TableView.ContentInset = new UIEdgeInsets((nfloat)HeaderMax + SafeAreaOffset, 0, 0, 0); + TableView.ContentInset = new UIEdgeInsets((nfloat)HeaderMax, 0, 0, 0); LayoutParallax(); } @@ -69,7 +69,7 @@ namespace Xamarin.Forms.Platform.iOS TableView.SeparatorStyle = UITableViewCellSeparatorStyle.None; if (Forms.IsiOS11OrNewer) TableView.ContentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentBehavior.Never; - TableView.ContentInset = new UIEdgeInsets((nfloat)HeaderMax + SafeAreaOffset, 0, 0, 0); + TableView.ContentInset = new UIEdgeInsets((nfloat)HeaderMax, 0, 0, 0); TableView.Source = _source; } -- 2.7.4