zoukankan      html  css  js  c++  java
  • reason: 'Unable to create description in descriptionForLayoutAttribute_layoutItem_coefficient. Something is nil

    问题log:

    *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Unable to create description in descriptionForLayoutAttribute_layoutItem_coefficient. Something is nil'

    *** First throw call stack:

    最近开发,没有找到iOS7系统  iPhone4S以下的设备。但是我们的APP还要支持iOS7,iPhone4S,于是本主就遇到了线上BUG,大坑啊!同事里有用这设备的,却没有在测试阶段告诉小主。

    于是开始找问题。找到了:

    问题就是iOS8以下的系统,不能完美的支持autoLayout。  

     用到 add missing constraints 或者 Reset to suggested constraints  的就要遭殃了。

    解决方法:

       可以重新编辑  手动添加约束。

    其他方法 待定,有好方法可以留言,交流学习!

  • 相关阅读:
    commons
    Dozer数据对象转换神器
    xstream
    javassist
    JAVA设计模式之单例模式
    单例模式
    OC_自动引用计数器_0x04
    OC_自动引用计数器_0x03
    OC_自动引用计数器_0x02
    OC_自动引用计数器_0x01
  • 原文地址:https://www.cnblogs.com/KingQiangzi/p/5316209.html
Copyright © 2011-2022 走看看