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.
我创建了一个只有 iPad 的应用程序,现在客户希望我让它通用。我创建了新的 .xib,它们通过 ~iphone 后缀自动检测并在模拟器上正常工作。但是,当我在 iPhone 4s 上运行它进行调试时,似乎只有 iPad .xib 出现了。谢谢!
好吧,你能告诉我你是如何UIViewController在你的应用程序中创建一个吗?因为我们有两个选择:
UIViewController
-iPhone
-iPad
ifs
您对目标设置进行了哪些更改?