UIViewController.TopLayoutGuide プロパティ

定義

開発者は、この非推奨のプロパティを使用しないでください。 代わりに、 を使用 SafeAreaLayoutGuideする必要があります。

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIView.SafeAreaLayoutGuide.TopAnchor' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIView.SafeAreaLayoutGuide.TopAnchor' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.IUILayoutSupport TopLayoutGuide { [Foundation.Export("topLayoutGuide")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIView.SafeAreaLayoutGuide.TopAnchor' instead.")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIView.SafeAreaLayoutGuide.TopAnchor' instead.")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.TopLayoutGuide : UIKit.IUILayoutSupport

プロパティ値

指定された画面上のコンテンツの最上位のエクステント (読み取り専用)。

属性

注釈

この非推奨のプロパティは、画面上のコンテンツの最も高い垂直方向の範囲を保持します。 自動レイアウト制約で使用されます。 読み取り専用です。

適用対象