Rg.Plugins.Popup icon indicating copy to clipboard operation
Rg.Plugins.Popup copied to clipboard

iOS - PreferredStatusBarStyle is not settable when popups are presented

Open kensykora opened this issue 6 years ago • 1 comments

We have an app that uses multiple PreferredStatusBarStyle between screens that are presented, and our Info.plist file has it set to use the status bar style per view controller.

When we attempt to present popups on a page with the UIStatusBarStyle.LightContent style as an override, it is not respected due to the implementation I suspect here: https://github.com/rotorgames/Rg.Plugins.Popup/blob/5075f18a194df6b2df226ca84185db4d19542bfb/src/Rg.Plugins.Popup.IOS/Impl/PopupPlatformIos.cs#L48

Since a new window/view controller are instantiated, we don't have an opportunity to indicate what our preferred method is, so it does not choose our preferred status bar style. This causes our modals to obscure the status bar contents.

We would like a way to set the preferred status bar for iOS when popups are shown. Do you have a way to do this?

kensykora avatar Feb 05 '19 20:02 kensykora

@kensykora Can you show me how it looks like?

rotorgames avatar Feb 28 '19 22:02 rotorgames