![]() ![]() ![]() The StatusBarHiddenMode.True and StatusBarHiddenMode.False values set the status bar visibility regardless of device orientation, and the StatusBarHiddenMode.Default value hides the status bar in a vertically compact environment. The Page.SetPrefersStatusBarHidden method, in the namespace, is used to set the visibility of the status bar on a Page by specifying one of the StatusBarHiddenMode enumeration values: Default, True, or False. Enables the modern iOS 12 iPad Statusbar on older (non-X) iPhones Allows you to use tweaks that are meant for devices with a Notch like PercentageBatteryX, but without wasting all your space in the statusbar. The Page.On method specifies that this platform-specific will only run on iOS. SetPreferredStatusBarUpdateAnimation(UIStatusBarAnimation.Fade) On().SetPrefersStatusBarHidden(StatusBarHiddenMode.True) It's consumed in XAML by setting the Page.PrefersStatusBarHidden attached property to a value of the StatusBarHiddenMode enumeration, and optionally the Page.PreferredStatusBarUpdateAnimation attached property to a value of the UIStatusBarAnimation enumeration: Īlternatively, it can be consumed from C# using the fluent API: using This iOS platform-specific is used to set the visibility of the status bar on a Page, and it includes the ability to control how the status bar enters or leaves the Page. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |