4 ms·
Anyone know how they got the simulator to work at a different height?
by kyleslattery 14y ago
Anyone know how they got the simulator to work at a different height?
- dzlobin 14y agoAlso looking for this -- do tell if you come across it.
- pirateking 14y agoOne possibility might be writing a SIMBL plugin. I hacked the iOS simulator before using SIMBL in order to do things like modify the multitouch input indicators, and other views. Dangerous and fun territory.
- Someone 14y agoOn my system, there is a file at /Applications /Xcode.app /Contents /Developer /Platforms /iPhoneSimulator.platform /Developer /Applications /iPhone Simulator.app /Contents /Resources /Devices /iPhone (Retina).deviceinfo /info.plist That file contains (among others), these fragments: <key>height</key> <string>960</string> <key>width</key> <string>640</string> I haven't tried it, but that is where my hacking would start. The simulator app is signed. It may not be possible to use it after editing it. Mu next attempt would be to sign it with your own key. If that fails, too, I would try and intercept the reading of the file. It may be easiest to put Xcode on some user-mode filesystem that you control.
- frankus 14y agoTried it, and there's apparently more to it than that. When I change the resolution that "Device" disappears from the Hardware submenu. Other changes to the plist, (e.g. the name of the device) leave it working.
- kyleslattery 14y agoHaven't tried this yet, but this sounds like it should work: http://0xced.blogspot.co.at/2012/08/prepare-your-apps-for-new-iphone.html http://0xced.blogspot.co.at/2012/08/prepare-your-apps-for-ne... HN discussion here: http://news.ycombinator.com/item?id=4353004 http://news.ycombinator.com/item?id=4353004