Closed mikebikerider closed 4 years ago
As a workaround, until a proper fix is implemented, you can create a custom renderer for the map and put this code in the OnElementChanged
override:
protected override void OnElementChanged(ElementChangedEventArgs<View> e)
{
base.OnElementChanged(e);
if (UIDevice.CurrentDevice.CheckSystemVersion(13, 0))
{
this.OverrideUserInterfaceStyle = UIUserInterfaceStyle.Light;
}
}
Thank you Alexandru. I put your suggestion into my code, works like a charm. I am closing this issue
VERSIONS
PLATFORMS
ACTUAL BEHAVIOR
An app built with iOS SDK version 13.0 running on a device with iOS version 13.1.2 in dark mode shows blank Info Window opened when a map pin is selected. If the device is switched to the light mode the Info Window shows text in black, as expected. The size of the Info Window does not change. Looks like the Info Window text color in dark mode is white, not visible on the white Info Window background. The work around I implement for now is enforcing the light mode for the content page. Not a pretty workaround.
ACTUAL SCREENSHOTS/STACKTRACE
EXPECTED BEHAVIOR
HOW TO REPRODUCE