UIView.RequiresConstraintBasedLayout メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
が自動レイアウトを UIView 使用することを示します。
[Foundation.Export("requiresConstraintBasedLayout")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static bool RequiresConstraintBasedLayout ();
static member RequiresConstraintBasedLayout : unit -> bool
戻り値
既定値は false
です。
- 属性
注釈
アプリケーション開発者が自動レイアウトに依存している場合は、このメソッドをUIViewオーバーライドして を返すtrue
必要があります。