Bug 33213 - info.plist Status bar settings not working
Summary: info.plist Status bar settings not working
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 3.11 (C5)
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2015-08-19 00:40 UTC by scopezs
Modified: 2016-12-22 23:04 UTC (History)
8 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 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 scopezs 2015-08-19 00:40:08 UTC
When ever i edit my info.plist and set it so the status bar is opaque it never works. Here are some pics to show its not working.

Visual studios:https://drive.google.com/file/d/0B1D46ucaG1LxYXFnR2FfSDFQem8/view?usp=sharing

Comment 1 Udham Singh 2015-08-19 09:43:03 UTC
I have checked this issue and observed that if I change the 'Status Bar Styles' in Info.plist file then changes are not getting reflect on iOS simulator. Please refer the screencast : http://www.screencast.com/t/TNNivJQrD

Could you please confirm that you are getting same behaviour.

Note : I am getting the same behaviour if I check the same on Windows with VS.

Environment Info : 

=== Xamarin Studio ===

Version 5.9.5 (build 9)
Installation UUID: ce927b2a-2c07-44c5-b186-09cfdafba6dc
	Mono 4.0.3 ((detached/d6946b4)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400030020

=== Apple Developer Tools ===

Xcode 6.2 (6776)
Build 6C131e

=== Xamarin.iOS ===

Version: (Business Edition)
Hash: 2c66d2f
Branch: master
Build date: 2015-08-04 13:52:25-0400

=== Xamarin.Mac ===

Version: (Business Edition)

=== Xamarin.Android ===

Version: (Business Edition)
Android SDK: /Users/xamarin76/Desktop/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
		5.1    (API level 22)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Build Information ===

Release ID: 509050009
Git revision: b99cb19a1d3b15d8980c4616f13f837457e5b292
Build date: 2015-07-28 02:01:44-04
Xamarin addins: d53d6eceb828422f3d4aff8547f2f6bab6c9ea58

=== Operating System ===

Mac OS X 10.9.5
Darwin Xamarin76s-Mac-mini.local 13.4.0 Darwin Kernel Version 13.4.0
    Sun Aug 17 19:50:11 PDT 2014
    root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64
Comment 2 scopezs 2015-08-19 09:51:31 UTC
Yes i'm getting the same behaviour.
Comment 3 Alan McGovern 2015-08-19 12:06:06 UTC
I am reasonably sure this is because 'Black Opaque' has been deprecated and is now being interpreted as meaning 'Light Content'.

Try one of the other allowable values for UIStatusBarStyle and see which ones provide the behaviour you need. The apple documentation for the allowed values, including the iOS version where they were introduced and/or deprecated, is here:  

Comment 4 scopezs 2015-08-20 00:20:31 UTC
I can't get any to work.
Comment 5 Jose Gallardo 2016-12-22 23:04:04 UTC
As we've added several improvements to our build system and info.plist support since the bug was reported, I'm resolving it tentatively as Fixed.
That said, if you're still facing this issue with current bits, please feel free to reopen the bug.