Bug 41535 - UIViewControllerBasedStatusBarAppearance is set to false.
Summary: UIViewControllerBasedStatusBarAppearance is set to false.
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS (show other bugs)
Version: unspecified
Hardware: PC Mac OS
: --- minor
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-06-06 20:35 UTC by Peter Steinberger
Modified: 2016-11-16 10:06 UTC (History)
5 users (show)

See Also:
Tags: ac
Is this bug a regression?: ---
Last known good build:


Description Peter Steinberger 2016-06-06 20:35:43 UTC
`UIViewControllerBasedStatusBarAppearance` is set to false. This is the old, deprecated behaviour from iOS 6 and is discouraged.

This is a problem for us. We offer an SDK for PDF viewing/editing called PSPDFKit. Getting the status bar right on iOS is tricky and we can't reasonable support both modes - so we chose the default, non-deprecated mode that exists since iOS 7.

Furthermore, the old APIs for controlling the status bar are all deprecated and unavailable when building extensions.

Here's Apple's documentation on it:

Here's our FAQ entry:

Example where this is set to false inside Xamarin's samples:

I hope that the status bar management can be updated to the modern APIs so our product will work with Xamarin.Forms. I know that this can be tricky but it's definitely a step up from the previous global-state behaviour. Let me know if you have any more issues. peter@pspdfkit.com here / @steipete on Twitter. I'm at WWDC next week so I can relay questions as well.
Comment 1 adrianknight89 2016-11-06 08:00:04 UTC
I think this fixes your issue: https://github.com/xamarin/Xamarin.Forms/pull/463
Comment 2 Peter Steinberger 2016-11-06 11:44:44 UTC
Looking good - thanks!
Comment 3 Rui Marinho 2016-11-16 10:06:15 UTC
Should be fixed in 2.3.4-pre1

Note You need to log in before you can comment on or make changes to this bug.