Forum Xamarin.iOS

Xamarin iOS: how to dim status bar if there is Pop-up

I'm work on changing iOS status bar color and it's text color. The result appeared good except when a pop-up shown on screen. As shown as the image below, the status bar does not dimmed when a pop-up displayed on screen, it seems to stand out on the screen.

As I really not familiar with iPhone, does it usually work this way? Or is there any workaround to dim status bar if pop-up appeared?

Note: I am using iPhone X with iOS 12.1


  • LandLuLandLu Member, Xamarin Team Xamurai

    The popup view you created by the Rg.Plugins.Popup is a normal page covered above the previous page. It makes the border part translucent and gray to look like a popup view.
    But we can't add a page above the status bar on iOS. The status bar aligns at a higher level of the window.
    You need to manually reset its color when the popup view shows up. Then you can use a fuzzy color as you want at that time.

Sign In or Register to comment.