View Full Version : [iPhone SDK] Taking screen shot
chrisc9867
03-11-2008, 01:28 AM
I know with the open toolchain, we could use the _dumpScreenContents function to take screen shots. However, this function does not seem to be available in the SDK. If anybody finds a way to do this with the SDK, please post it up!
ChronicProductions
03-11-2008, 02:57 AM
Here's how I do it:
1. Open Grab
2. Take a screengrab, and specify to do it to a specific window
3. Click the Aspen Simulator window
4. Profit!
chrisc9867
03-11-2008, 05:28 AM
Thanks, but I am attempting to do it on the iPhone directally, not with the simulator. The software I am planning to make may require the need for the screenshot ability right off the iPhone.
appleguru
03-11-2008, 12:02 PM
Apple includes a CLI screenshot app for developer enabled iPhones... It will be located in /usr/bin on the iPhone and will be called "ScreenShotr"
Presumably you'd be able to call this app from your code.
ChronicProductions
03-11-2008, 09:36 PM
Ah, I see. With your 1.2-Aspen iPhone, all you have to do is go to the Screenshots tab in XCode. Lucky bastard, I don't know anyone who actually had it legitimately...
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.