iphone - iOS 模拟器 - 如何将默认模拟器设置为 iPhone

标签 iphone ios ipad ios-simulator

我下载了带有 iOS 4.2 版本的最新 XCode。 当我在模拟器中测试任何应用程序时,它默认在 ipad 模拟器中运行。 如何让我的模拟器默认为 iPhone。

最佳答案

解决方案#1

您可以从管理器中取出 iPad。我还没有尝试过,因为我同时使用 iPhone 和 iPad。


解决方案#2

创建一个键盘快捷键以切换到 iPhone 模拟器

top menu> Project> Set Active Executable> Targetname - iPhone Simulator

查看这些屏幕截图

Menu that we want to target with a keyboard shortcut How to setup the keyboard shortcut

关于iphone - iOS 模拟器 - 如何将默认模拟器设置为 iPhone,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4322279/

相关文章:

ios - 我在 Firebase 中看到应用内购买,但在 iTunes connect/AppAnnie 中看不到它们

iphone - 如何测试倾斜效果? - iPhone模拟器

ios - Appstore Failure 二进制文件中没有架构。 Lipo 未能检测到捆绑可执行文件中的任何架构。”在 SoftwareAssets/SoftwareAsset

iphone - UIImageView 缩放、点击、手势不起作用

ios - CAKeyframeAnimation 在旋转设备之前不会产生动画

ios - 直接从 textField 移动到 textField 时 UITableView 不会移动

iphone - iPhone 的加速度计有多精确——是否可以绘制出相对准确的手机位置运动路径?

ios - 检查应用程序是否是在 iPad 上打开的 iPhone 应用程序

ios - 键盘出现后布局被破坏

iphone - 使用 NIB 文件用委托(delegate)实例化 UIView 子类