floriankugler / FLKAutoLayout

UIView category which makes it easy to create layout constraints in code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

example app crashes

kamendo opened this issue · comments

this is part of the log

translatesAutoresizingMaskIntoConstraints) 
(
    " H:[UIView:0x7fcb10e31a20(80)] (Bar view 0, (null))",
    " H:[UIView:0x7fcb10e31a20(100)] (Bar view 0, (null))"
)
....

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** +[NSLayoutConstraint constraintWithItem:attribute:relatedBy:toItem:attribute:multiplier:constant:]: A multiplier of 0 or a nil second item together with a location for the first attribute creates an illegal constraint of a location equal to a constant. Location attributes must be specified in pairs'