summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS/PlatformRenderer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.iOS/PlatformRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.iOS/PlatformRenderer.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.iOS/PlatformRenderer.cs b/Xamarin.Forms.Platform.iOS/PlatformRenderer.cs
index f2d897e4..5767c184 100644
--- a/Xamarin.Forms.Platform.iOS/PlatformRenderer.cs
+++ b/Xamarin.Forms.Platform.iOS/PlatformRenderer.cs
@@ -1,4 +1,5 @@
using UIKit;
+using Xamarin.Forms.PlatformConfiguration.iOSSpecific;
namespace Xamarin.Forms.Platform.iOS
{
@@ -103,6 +104,11 @@ namespace Xamarin.Forms.Platform.iOS
}
return base.PreferredInterfaceOrientationForPresentation();
}
+
+ public override UIViewController ChildViewControllerForStatusBarHidden()
+ {
+ return (UIViewController)Platform.GetRenderer(this.Platform.Page);
+ }
public override bool ShouldAutorotate()
{