You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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()}}}
The text was updated successfully, but these errors were encountered: