Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所以在我的 XIB 文件中,我有格式化的标签和按钮。但是当我在 iPhone 上运行该应用程序时,标签和按钮的间距不正确,并且视图看起来不像 XIB 文件。有人可以帮我吗?
AutoLayout如果您不针对 iOS6,请选择 xib 文件并取消选中该选项。尝试
AutoLayout
去xib property screen->Show File Inspector->uncheck Use Autolayout
xib property screen->Show File Inspector->uncheck Use Autolayout
希望这可以帮助你