We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aad6c77 + 45d5b22 commit fb4d7eaCopy full SHA for fb4d7ea
1 file changed
Sources/AutoLayout/UIView+Layout.swift
@@ -261,7 +261,7 @@ extension UIView {
261
)
262
constraint.isActive = true
263
264
- return LayoutConstraints(bottom: constraint)
+ return LayoutConstraints(top: constraint)
265
}
266
267
/// Constrains the view's bottom anchor to the top anchor of another view, positioning it above the specified view vertically.
@@ -284,7 +284,7 @@ extension UIView {
284
285
286
287
- return LayoutConstraints(top: constraint)
+ return LayoutConstraints(bottom: constraint)
288
289
290
0 commit comments