summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS
diff options
context:
space:
mode:
authorkingces95 <kingces95@users.noreply.github.com>2017-03-18 18:55:40 (GMT)
committerRui Marinho <me@ruimarinho.net>2017-03-18 18:55:40 (GMT)
commitce068193286c5fcebe3fe01fd5edfbbac88e4058 (patch)
tree0807307c9c0da5f5c022df0d275e9a09b95bd90c /Xamarin.Forms.Platform.iOS
parent9a6f7712621d24e1bd13f2892f99478466b6f56a (diff)
downloadxamarin-forms-ce068193286c5fcebe3fe01fd5edfbbac88e4058.zip
xamarin-forms-ce068193286c5fcebe3fe01fd5edfbbac88e4058.tar.gz
xamarin-forms-ce068193286c5fcebe3fe01fd5edfbbac88e4058.tar.bz2
Adopt iOS status bar visibility defaults (#822)
Diffstat (limited to 'Xamarin.Forms.Platform.iOS')
-rw-r--r--Xamarin.Forms.Platform.iOS/Renderers/PageRenderer.cs7
1 files changed, 1 insertions, 6 deletions
diff --git a/Xamarin.Forms.Platform.iOS/Renderers/PageRenderer.cs b/Xamarin.Forms.Platform.iOS/Renderers/PageRenderer.cs
index 2b702fd..e5e7d70 100644
--- a/Xamarin.Forms.Platform.iOS/Renderers/PageRenderer.cs
+++ b/Xamarin.Forms.Platform.iOS/Renderers/PageRenderer.cs
@@ -229,12 +229,7 @@ namespace Xamarin.Forms.Platform.iOS
return false;
case (StatusBarHiddenMode.Default):
default:
- {
- if (Device.info.CurrentOrientation.IsLandscape())
- return true;
- else
- return false;
- }
+ return base.PrefersStatusBarHidden();
}
}