summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS
diff options
context:
space:
mode:
authorkingces95 <kingces95@users.noreply.github.com>2017-03-18 11:55:40 -0700
committerRui Marinho <me@ruimarinho.net>2017-03-18 18:58:07 +0000
commit937a7845ce8bea8b7277197a6076123333b1e474 (patch)
treec021042783dc722344794383d3b6f88ee3f0c0b4 /Xamarin.Forms.Platform.iOS
parent95ef73c473d9d41b327406a7b62533ebaa21479b (diff)
downloadxamarin-forms-937a7845ce8bea8b7277197a6076123333b1e474.tar.gz
xamarin-forms-937a7845ce8bea8b7277197a6076123333b1e474.tar.bz2
xamarin-forms-937a7845ce8bea8b7277197a6076123333b1e474.zip
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 1c7730e8..fb0e86c6 100644
--- a/Xamarin.Forms.Platform.iOS/Renderers/PageRenderer.cs
+++ b/Xamarin.Forms.Platform.iOS/Renderers/PageRenderer.cs
@@ -228,12 +228,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();
}
}