UIApplicationDelegate.DidChangeStatusBarOrientation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates that the orientation of the status bar has changed.
[Foundation.Export("application:didChangeStatusBarOrientation:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidChangeStatusBarOrientation (UIKit.UIApplication application, UIKit.UIInterfaceOrientation oldStatusBarOrientation);
abstract member DidChangeStatusBarOrientation : UIKit.UIApplication * UIKit.UIInterfaceOrientation -> unit
override this.DidChangeStatusBarOrientation : UIKit.UIApplication * UIKit.UIInterfaceOrientation -> unit
Parameters
- application
- UIApplication
Reference to the UIApplication that invoked this delegate method.
- oldStatusBarOrientation
- UIInterfaceOrientation
The status bar's previous orientation.
- Attributes
Remarks
After this method ends, the systems posts a UIApplicationDidChangeStatusBarOrientationNotification
(see ObserveDidChangeStatusBarOrientation).