如何在iOS Simulator 5.1周围还原iPad框架? [英] How can I restore the iPad frame around iOS Simulator 5.1?

查看:74
本文介绍了如何在iOS Simulator 5.1周围还原iPad框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Apple使用Xcode 4.3.1发行了新的iOS 5.1 Simulator.不幸的是,当您运行iPad硬件时,sim窗口周围不再有iPad框架.有谁知道如何还原该框架?我经常使用模拟器通过屏幕共享向其他人演示功能,当它在iPad框架中时,它看起来要好得多.预先感谢.

有趣的是,顺便说一句,不再有frame.png.相反,现在在iOS Simulator的程序包中,您只能找到:./Contents/Resources/frame_1only_.png

解决方案

从开发中心下载Xcode 4.2.1 ...除此之外,您无能为力.此外,我更喜欢新的简约模拟器. (顺便说一句,这背后有一个基本原理:新的视网膜模拟器太大了,无法提供良好的边框图像.)

编辑(以解决问题的核心):即使您可以找到合适的边框图像,也如何编辑模拟器的内部结构?我的建议是:找到具有适当sim卡的旧Xcode,或将simFinger应用程序修改为包括iPad框架(据我所知,它仅适用于iPhone sim卡)和iPad尺寸.在此处可用: https://github.com/atebits/SimFinger

事实证明,它确实支持iPad和挡板!

With Xcode 4.3.1, Apple ships the new iOS 5.1 Simulator. Unfortunately, it looks like when you run iPad hardware, there's no longer the iPad frame around the sim window. Does anyone have any idea how to restore that frame? I often use the simulator to demo features to others via screen sharing, and it looks much better when it's in the iPad frame. Thanks in advance.

Interestingly, btw, there's no longer a frame.png. Instead, now within iOS Simulator's package, you only find: ./Contents/Resources/frame_1only_.png

解决方案

Download Xcode 4.2.1 from the dev center... other than that, there's nothing you can do about it. Besides, I rather like the new minimalistic simulator. (BTW, there is a rationale behind this: the new retina simulator is just too big to provide a good bezel image).

EDIT (to address the core of the problem): Even if you could find a suitable bezel image, how could you edit the internals of the simulator? My proposal is: find an old Xcode with the proper sim, or mod the simFinger application to include an iPad frame (to my knowledge, it only works with the iPhone sim), and iPad dimensions. Available here: https://github.com/atebits/SimFinger

EDIT 2: As it turns out, it does support the iPad, and bezel!

这篇关于如何在iOS Simulator 5.1周围还原iPad框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆