編輯

共用方式為


UIScreen.ApplicationFrame Property

Definition

Developers should not use this deprecated property. Developers should use the 'Bounds' property.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use the 'Bounds' property.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreGraphics.CGRect ApplicationFrame { [Foundation.Export("applicationFrame")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use the 'Bounds' property.")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.ApplicationFrame : CoreGraphics.CGRect

Property Value

The Frame of the application.

Attributes

Remarks

The P:UIKit.UIDevice.ApplicationFrame is the Bounds minus the size of the status bar, if it is visible.

Applies to