Adjust Center of Measure in Xcode 6

前端 未结 5 829
后悔当初
后悔当初 2021-01-21 21:23

In the new \"Xcode 6\" the ability to change the center of measure of a button is missing.

In Xcode 5: http://imgur.com/jWHJp4v

Xcode 6: http://imgur.com/rsNayVZ

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-21 21:50

    You can't “fix it”. That control is gone in Xcode 6. I suspect they removed it to encourage you to use constraints instead of setting frames directly. You can use constraints to pin the center, right, or bottom of a view.

提交回复
热议问题