From cd0a673f436fd4c8902da7574c8bddd79e3b327a Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Tue, 8 Nov 2022 09:47:28 -0600 Subject: [PATCH] iOS safe area tweaks --- qController.Standard/Pages/qConnectionPage.xaml.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qController.Standard/Pages/qConnectionPage.xaml.cs b/qController.Standard/Pages/qConnectionPage.xaml.cs index f1e214b..36be9ef 100644 --- a/qController.Standard/Pages/qConnectionPage.xaml.cs +++ b/qController.Standard/Pages/qConnectionPage.xaml.cs @@ -8,6 +8,8 @@ using qController.QItems; using qController.Dialogs; using qController.Cell; using Xamarin.Essentials; +using Xamarin.Forms.PlatformConfiguration; +using Xamarin.Forms.PlatformConfiguration.iOSSpecific; namespace qController { @@ -43,7 +45,7 @@ namespace qController private void InitGUI() { - NavigationPage.SetHasNavigationBar(this, false); + Xamarin.Forms.NavigationPage.SetHasNavigationBar(this, false); //ListView Setup listView.ItemsSource = QStorage.qInstances; @@ -53,7 +55,7 @@ namespace qController // don't do anything if we just de-selected the row if (e.Item == null) return; // do something with e.SelectedItem - ((ListView)sender).SelectedItem = null; // de-select the row + ((Xamarin.Forms.ListView)sender).SelectedItem = null; // de-select the row }; //Platform Specific Setup