Storyboard weird controller view frame origins

后端 未结 2 1135
梦如初夏
梦如初夏 2021-01-14 15:27

I have ran into a weird issue with Xcode-s storyboards.

I have a good amount of view controllers in my board, and for some reason all of their view\'s origins are no

相关标签:
2条回答
  • 2021-01-14 16:06

    Select the view controller then go to Attribute Inspector set size as "FreeForm"

    0 讨论(0)
  • 2021-01-14 16:20

    The thing here is that X in your example is not top-left referenced but center. Just click the top left dot in the inspector (origin) and you should see the 'correct' values. enter image description here

    0 讨论(0)
提交回复
热议问题