UIKit.UIApplication.SetStatusBarOrientation Method
Sets the status bar to orientation.

Syntax

[Foundation.Export("setStatusBarOrientation:animated:")]
public virtual void SetStatusBarOrientation (UIInterfaceOrientation orientation, bool animated)

Parameters

orientation
The specific orientation for the status bar.
animated
true if transition to the new orientation should be animated; false if transition should be immediate, without any animation.

Remarks

This method should not be used if the application is expected to handle rotation automatically. Once this method is called, the status bar will not change automatically in response to rotation.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0