diff options
author | Paul DiPietro <pauldipietro@users.noreply.github.com> | 2016-11-16 04:02:54 -0600 |
---|---|---|
committer | Rui Marinho <me@ruimarinho.net> | 2016-11-16 11:02:54 +0100 |
commit | 98235e0eea8b540ac10a71b97ee08a5842abd664 (patch) | |
tree | 83856b6c24d0b8730946cd3241f550623a0d7f7b /Xamarin.Forms.Platform.iOS/PlatformRenderer.cs | |
parent | 107ed5e545698a647b9cd1be22745a2c35aeebc4 (diff) | |
download | xamarin-forms-98235e0eea8b540ac10a71b97ee08a5842abd664.tar.gz xamarin-forms-98235e0eea8b540ac10a71b97ee08a5842abd664.tar.bz2 xamarin-forms-98235e0eea8b540ac10a71b97ee08a5842abd664.zip |
[iOS] Add Platform Specific features for PrefersStatusBarHidden/UIStatusBarAnimation (#463)
* [iOS] Add Platform Specific features for PrefersStatusBarHidden/UIStatusBarAnimation
* Update docs
Diffstat (limited to 'Xamarin.Forms.Platform.iOS/PlatformRenderer.cs')
-rw-r--r-- | Xamarin.Forms.Platform.iOS/PlatformRenderer.cs | 6 |
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() { |