iOS - Find top constraint for a view?

前端 未结 7 1419
情深已故
情深已故 2020-12-28 16:52

I am trying to find the top constraint of the view in code. The top constraint is added in storyboard, and I don\'t want to use an IBOutlet.

Logging the value of the

7条回答
  •  悲&欢浪女
    2020-12-28 17:19

    Set the identifier in the inspector in Xcode. That's what it's for. You name it. If that's not enough you create the IBOutlet.

提交回复
热议问题