From: kingces95 Date: Sat, 18 Mar 2017 18:55:40 +0000 (-0700) Subject: Adopt iOS status bar visibility defaults (#822) X-Git-Tag: accepted/tizen/common/20170324.122620~153 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=937a7845ce8bea8b7277197a6076123333b1e474;p=platform%2Fupstream%2Fxamarin-forms.git Adopt iOS status bar visibility defaults (#822) --- diff --git a/Xamarin.Forms.Platform.iOS/Renderers/PageRenderer.cs b/Xamarin.Forms.Platform.iOS/Renderers/PageRenderer.cs index 1c7730e..fb0e86c 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(); } }