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.
我特别想到了游戏,其中可能有很多需要切换的视图。有人可以提供一些示例 xcode 4.2 代码吗?许多教程都有旧的 xcode 版本,它们有不同的初始代码。
谢谢
我想说的最有效的方法是使用故事板功能。在主故事板文件中设置一个新的视图控制器,然后控制从一个视图上的哪个红色按钮拖动到下一个视图。非常简单,无需代码。如果您有任何问题,请给我发电子邮件 dai.evans94@live.co.uk