NSLayoutConstraintクラス
レイアウト制限クラス
解説
AutoLayoutの際に使用します。
継承 | NSObject |
準拠 | NSObject (NSObject) |
フレームワーク | /System/Library/Frameworks/UIKit.framework |
使用可能 | iOS 6.0以降 |
定義 | NSLayoutConstraint.h |
概要
サブクラス化の注意
引数
メソッドとプロパティ
レイアウト制限の作成
+ constraintsWithVisualFormat:options:metrics:views:
+ constraintWithItem:attribute:relatedBy:toItem:attribute:multiplier:constant:
制限データにアクセス
priority property
firstItem property
firstAttribute property
relation property
secondItem property
secondAttribute property
multiplier property
constant property
Controlling Constraint Archiving
shouldBeArchived property