UIView.RequiresConstraintBasedLayout メソッド

定義

が自動レイアウトを 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必要があります。

適用対象