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.
2 parents 0a0a652 + 508c62f commit a908791Copy full SHA for a908791
Sources/Extensions/UIView+PinLayout.swift
@@ -131,9 +131,10 @@ extension UIView: AutoSizeCalculable {
131
132
if (!isAlreadyAutoSizing) {
133
Pin.autoSizingInProgress = true
134
- autoSizingRect = CGRect(origin: CGPoint.zero, size: size)
135
}
136
+ autoSizingRect = CGRect(origin: CGPoint.zero, size: size)
137
+
138
layoutClosure()
139
140
let boundingRect = subviews.compactMap({ $0.autoSizingRectWithMargins }).reduce(CGRect.zero) { (result: CGRect, autoSizingRect: CGRect) -> CGRect in
0 commit comments