constraint(greaterThanOrEqualToSystemSpacingBelow:multiplier:)
Returns a constraint that defines the minimum distance by which the current anchor is positioned below the specified anchor.
Declaration
func constraint(greaterThanOrEqualToSystemSpacingBelow anchor: NSLayoutYAxisAnchor, multiplier: CGFloat) -> NSLayoutConstraintParameters
- anchor:
The anchor to use as the starting point for the constraint.
- multiplier:
The multiple of the system spacing to use as the distance between the two anchors.
Return Value
An NSLayoutConstraint object that imposes a minimum distance between the current anchor and the object in the anchor parameter.
Discussion
The constraint causes the current anchor to be positioned below the object in the anchor parameter. The minimum distance between the two anchors is determined by multiplying the system spacing by the value in the multiplier parameter. The value of the system spacing is determined from information available from the anchors. For example, if the anchors represent text baselines, the spacing is determined by the fonts used at those baselines.