We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aad6c77 commit 45d5b22Copy full SHA for 45d5b22
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