Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
The status bar styles in the Visual Studio iOS app properties are wrong (specifically missing UIStatusBarStyleLightContent)? In my case, the "designer" even removes my custom status bar style entries in info.plist from time to time and I always have to google what they were and add them again.
Also you still include UIStatusBarStyleBlackTranslucent, UIStatusBarStyleBlackOpaque, etc. which are deprecated in iOS 7.0. Can't the Visual Studio plugin make the correct offerings depending on the target SDK version? I'm targeting 8.0 (and 7.0 before), and it's just plain wrong and annoying this way.
I have tried to reproduce this issue at my end using the build XVS 4.0.381 and I successfully able to understand the first point mentioned in the, i.e.
In VS for Status Bar Styles the option "Light Content" is missing from the dropdown. Which does appear on XS on Mac machine.
Here is the screencast for the same: http://www.screencast.com/t/ig8f3FSSVQ5
However, I am not able to understand the other points mentioned in the bug:
>"In my case, the "designer" even removes my custom status bar style entries in >info.plist from time to time and I always have to google what they were and add >them again.
>Also you still include UIStatusBarStyleBlackTranslucent,
>UIStatusBarStyleBlackOpaque, etc. which are deprecated in iOS 7.0. Can't the
>Visual Studio plugin make the correct offerings depending on the target SDK
>version? I'm targeting 8.0 (and 7.0 before), and it's just plain wrong and
>annoying this way."
So for the above mentioned points could you please provide some more information, i.e.
1. Screencast (video)
2. Detailed steps to reproduce
Ok, it's two things actually:
1. The values UIStatusBarStyleBlackTranslucent and UIStatusBarStyleBlackOpaque have been deprecated in iOS 7.0, and therefor should not be available in projects targeting iOS 7.0 or higher:
In fact, the only values to choose from should be UIStatusBarStyleDefault and UIStatusBarStyleLightContent.
2. If I change the style manually to UIStatusBarStyleLightContent in the info.plist of my app, and then edit the project properties and change, for example, the version number of my app, then the info.plist seems to get regenerated, removing my custom entry for UIStatusBarStyle in the process.
Is there any intention to address this? It has been over a year and I'm still having this problem. I have to manually edit info.plist in order for my launch screen storyboard to use LightContent. Why are the only options in the Style dropdown still "Default", "Black Translucent" and "Black Opaque"?
This bug is now almost 2 years old, any chance we can get this fixed? Doesn't seem to be too hard to add an additional option to the dropdown menu of the plist editor...
Not only is it unavailable, but xamarin visual studio will actually delete the hand-coded entry. I have to be diligent not to commit that accidentally.
The Light Content style has been added to XVS in cycle8, so it's available in the current stable bits.