• 使用masory


    动态更新约束的时候老是提示有多余的约束,我使用update_contraits  make_contraits  都不能解决,后来使用了remake_contraits才消除了告警。

    view property translatesAutoresizingMaskIntoConstraints)
    (
        "<NSLayoutConstraint:0x7fca10c4cd80 UIButton:0x7fca130543f0.leading == UIView:0x7fca10c08160.leading + 10>",
        "<NSLayoutConstraint:0x7fca10c56800 CornerView:0x7fca10edd150.leading == UIButton:0x7fca130543f0.leading>",
        "<NSLayoutConstraint:0x7fca10c08310 CornerView:0x7fca10edd150.trailing == UIButton:0x7fca10ed9310.trailing>",
        "<NSLayoutConstraint:0x7fca10c253b0 UIView:0x7fca10c08160.trailing == UIButton:0x7fca10ed9310.trailing + 10>",
        "<NSLayoutConstraint:0x7fca10c5fd70 UIView:0x7fca10c08160.leading == UIView:0x7fca10c52c20.(null) - 16>",
        "<NSLayoutConstraint:0x7fca10c5fe10 UIView:0x7fca10c52c20.(null) == UIView:0x7fca10c08160.trailing - 16>",
        "<NSLayoutConstraint:0x7fca1305adf0 UIView:0x7fca10c52c20.width == 320>",
        "<MASLayoutConstraint:0x7fca10fb5360 UIView:0x7fca10edf2c0.width == CornerView:0x7fca10edd150.width * 0.998269>",
        "<MASLayoutConstraint:0x7fca10c37490 UIView:0x7fca10edf2c0.width == CornerView:0x7fca10edd150.width>"
    )

  • 相关阅读:
    异象石(引理证明)
    Codeforces Round #664 (Div. 2)
    2020 年百度之星&#183;程序设计大赛
    Codeforces Round #663 (Div. 2)
    Codeforces Round #662 (Div. 2)
    相等运算符
    Unicode编码
    算术运算符
    强制类型转换到Boolean
    强制类型转换到Number
  • 原文地址:https://www.cnblogs.com/studyNT/p/4753866.html
Copyright © 2020-2023  润新知