Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I restore the iPad frame around iOS Simulator 5.1?

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

like image 797
NickT Avatar asked Mar 18 '12 05:03

NickT


People also ask

Where is iOS simulator data stored?

type: ~/Library/Application Support/iPhone Simulator. The Directories are the iOS version of the different Simulators. The Sub Directories are the Apps install on the simulator.

How do I access iOS simulator files?

# Open application folder in Finder First, copy the path to the app folder from Xcode console. Then open Finder, click on Go -> Go to Folder and paste the application directory path. You will now be able to browse all the files in your application folder.


3 Answers

The frame disappears if the simulator + frame does not fit on your screen. If I move it to my big external monitor, switch to iPhone and back to iPad, I have the frame again.

like image 93
user1700583 Avatar answered Oct 23 '22 01:10

user1700583


As everyone said, make sure your simulator zoom is set to 100% by using CMD-1.

With the new retina resolution, you need to have a Retina Macbook to get it to work. You have to set your display resolution to max, and reset the simulator. This will then show the frame around both the iPad and iPad Retina simulators. enter image description here

like image 25
Federico Avatar answered Oct 23 '22 02:10

Federico


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!

like image 29
CodaFi Avatar answered Oct 23 '22 00:10

CodaFi