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
You can assgin it by codes, but it's better to"connect lines" in Interface Builder:
2. Collapse a view
Selected constraints will collapse when:
view.fd_collapsed = YES;
And expand back when:
view.fd_collapsed = NO;
Auto collapse
Not every view needs to add a width or height constraint, views likeUILabel,UIImageView have theirIntrinsic content size when they have content in it. For these views, we provide aAuto collapse property, when its content is gone, selected constraints will collapse automatically. You can enable auto collapse by: