Issue #369
UITemporaryLayoutHeight and UITemporaryLayoutWidth
- Demystify warnings with https://www.wtfautolayout.com/
- Reduce priority
- Use Auto Layout directly instead of using manual frame layout, specially for scrolling pager
NSAutoresizingMaskLayoutConstraint
- Check that a view ACTUALLY has
translatesAutoresizingMaskIntoConstraintsset tofalse
UISV-spacing, UISV-distributing
- Check
UIStackView - Set
stackview.alignment = .centerif you seeUIStackViewtrying to set same trailing or leading edges for its subviews - Reduce priority if there’s edge constraints break from subviews to
UIStackView
Intrinsic size between UIImageView and UILabel
- When constraint to each other, can cause UILabel to disappear
- Reduce compression resistance
imageView.setContentCompressionResistancePriority(UILayoutPriority.defaultLow, for: .vertical)
UIAlertController sheet width == - 16
https://stackoverflow.com/a/58666480/1418457
Start the conversation