美文网首页
41.reason: 'couldn't find a comm

41.reason: 'couldn't find a comm

作者: rebeccaBull | 来源:发表于2017-12-29 09:48 被阅读0次

    reason: 'couldn't find a common superview for <UIView: 0x7ffc2e303270; frame = (0 0; 0 0); layer = <CALayer: 0x7ffc2e3033e0>> and <JTCalendarContentView: 0x7ffc2d81f200; baseClass = UIScrollView; frame = (0 64; 375 72); clipsToBounds = YES; autoresize = RM+BM; gestureRecognizers = <NSArray: 0x7ffc2be760c0>; layer = <CALayer: 0x7ffc2bec31f0>; contentOffset: {750, 0}; contentSize: {1875, 72}>'

    拉约束的时候,各个控件(有关系的)用的不是一个参照物。我出现这种情况的原因是因为一部分控件用的XIB拉的约束,一部分用的masonry,一个视图用代码写的附在XIB的控件上出现了问题,解决办法,都用XIB,或者代码,或者你找到一个参照物

    相关文章

      网友评论

          本文标题:41.reason: 'couldn't find a comm

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