/// <include file="../../../../docs/Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific/Page.xml" path="//Member[@MemberName='SetPreferredStatusBarUpdateAnimation'][1]/Docs" /> public static void SetPreferredStatusBarUpdateAnimation(BindableObject element, UIStatusBarAnimation value) { if (value == UIStatusBarAnimation.Fade) { element.SetValue(PreferredStatusBarUpdateAnimationProperty, value); } else if (value == UIStatusBarAnimation.Slide) { element.SetValue(PreferredStatusBarUpdateAnimationProperty, value); } else { element.SetValue(PreferredStatusBarUpdateAnimationProperty, value); } }
/// <include file="../../../../docs/Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific/Page.xml" path="//Member[@MemberName='SetPreferredStatusBarUpdateAnimation'][2]/Docs" /> public static IPlatformElementConfiguration <iOS, FormsElement> SetPreferredStatusBarUpdateAnimation(this IPlatformElementConfiguration <iOS, FormsElement> config, UIStatusBarAnimation value) { SetPreferredStatusBarUpdateAnimation(config.Element, value); return(config); }
public virtual void SetStatusBarHidden(bool hidden, UIStatusBarAnimation withAnimation) { }