Bug 60859 - UIApplication.SharedApplication.StatusBarHidden returns wrong value on iPhones
Summary: UIApplication.SharedApplication.StatusBarHidden returns wrong value on iPhones
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS ()
Version: 2.5.0
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-11-25 22:57 UTC by Sebastian Kruse
Modified: 2017-11-29 16:00 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Sebastian Kruse 2017-11-25 22:57:18 UTC
On iPhones the UIApplication.SharedApplication.StatusBarHidden does always return "true" and not the correct value.
Comment 1 Paul DiPietro [MSFT] 2017-11-29 16:00:51 UTC
I cannot reproduce this upon checking its value in the AppDelegate. That said, StatusBarHidden is deprecated[1] as of iOS 9.0, presumably in favor of prefersStatusBarHidden[2].

[1] https://developer.apple.com/documentation/uikit/uiapplication/1622982-isstatusbarhidden

[2] https://developer.apple.com/documentation/uikit/uiviewcontroller/1621440-prefersstatusbarhidden