I am also looking to build this functionality in my app. I started looking at MakeItMine by Erica Sadun which can apply SBFakeTime SBFakeTimeString and SBFakeCarrier without restarting. I did a little bit of reverse engineering and found this.
Quote:
iPhone:/Applications/MakeItMine.app root# strings MakeItMine
.......
/System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
GSSendAppPreferencesChanged
com.apple.springboard
.......
/private/var/mobile/Library/Preferences/com.apple.springboard.plist
SBFakeTime
SBFakeTimeString
SBFakeCarrier
Banner
Carrier
.......
|
And a hex dump shows this
Quote:
3470 66756e63 73000000 2f537973 74656d2f funcs.../System/
3480 4c696272 6172792f 50726976 61746546 Library/PrivateF
3490 72616d65 776f726b 732f4772 61706869 rameworks/Graphi
34a0 63735365 72766963 65732e66 72616d65 csServices.frame
34b0 776f726b 2f477261 70686963 73536572 work/GraphicsSer
34c0 76696365 73000000 00000000 47535365 vices.......GSSe
34d0 6e644170 70507265 66657265 6e636573 ndAppPreferences
34e0 4368616e 67656400 636f6d2e 6170706c Changed.com.appl
34f0 652e7370 72696e67 626f6172 64000000 e.springboard...
|
But when i try to do a class dump of GraphicsServices i get an error.
Quote:
iPhone:/System/Library/Frameworks/GraphicsServices.framework root# class-dump -H GraphicsServices
2008-07-29 16:10:39.190 class-dump[1309:10b] Warning: This file does not contain any Objective-C runtime information.
|
As I am fairly new to Objective-C it would be great if someone could post some sample code or figure out how to get a class dump or something to point me in the right direction!