We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The text was updated successfully, but these errors were encountered:
Can be fixed by calling .layoutIfNeeded() on views from constraint items, instead of UIApplication.shared.keyWindow
func layoutViews() { for item in [firstItem, secondItem] { if let view = item as? UIView { view.layoutIfNeeded() } else if #available(iOS 9.0, *), let layoutGuide = item as? UILayoutGuide { layoutGuide.owningView?.layoutIfNeeded() } } }
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: