美文网首页
Snapkit:A multiplier of 0 or a n

Snapkit:A multiplier of 0 or a n

作者: ning_e83f | 来源:发表于2018-06-06 09:43 被阅读0次

Snapkit报错: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.'

解决:先superview.addSubView再用snapkit做约束

相关文章

网友评论

      本文标题:Snapkit:A multiplier of 0 or a n

      本文链接:https://www.haomeiwen.com/subject/wsnvsftx.html