Using autolayout constraints programmatically

前端 未结 2 627
粉色の甜心
粉色の甜心 2021-02-05 17:33

I\'m trying to use autolayout in my iOS app programmatically. I have a simple view controller with this init code

UIView *i         


        
2条回答
  •  青春惊慌失措
    2021-02-05 18:21

    Just for the record: the exception concerning the missing superview gets already triggered by constraintsWithVisualFormat not addConstraints

提交回复
热议问题