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 e1fe8a6 commit c9a83a5Copy full SHA for c9a83a5
KeyboardLayoutGuide/KeyboardLayoutGuide/Keyboard+LayoutGuide.swift
@@ -98,7 +98,7 @@ open class KeyboardLayoutGuide: UILayoutGuide {
98
extension UILayoutGuide {
99
internal var heightConstraint: NSLayoutConstraint? {
100
return owningView?.constraints.first {
101
- $0 == self && $0.firstAttribute == .height
+ $0.firstItem as? UILayoutGuide == self && $0.firstAttribute == .height
102
}
103
104
0 commit comments