Xamarin iOS status bar color after closing form sheet
Hi. On my app, have a white navigation with texts in black. The status bar text is set accordingly and everything is fine.
I then load a page in modal as form sheet. As the top of the screen is black, I need to set BarTextColor to white in page to see the status bar (navigation is still light but I set the text color to black in title view). This makes the status bar text color switch to white. Again, everything is fine.
Finally, when I dismiss the modal page, the status bar do not revert to original color. It remains in the color set by the modal page. The status bar is now not visible.
Am I supposed to set manually the status bar color when closing the modal page? I don't think so as if the same page is opened full screen, the status bar color alternate properly between white and black. It's only when opened as form sheet that the problem occurs.
So currently, the only way to have this working properly is to use a dark navigation in my app so that I don't need to have a different color for status bar when opening form sheet.