开发者

Reload com.apple.springboard.plist without respringing/rebooting (probably with GSSendAppPreferencesChanged?)

I'm developing a jailbreak tool to modify com.apple.springboard.plist and I need to reload this file wi开发者_如何学JAVAthout respringing/rebooting the device.

I came across to GSSendAppPreferencesChanged (a GraphicsServices method) to reload the preferences (NSUserDefaults) of an application. That's the code I have now:

GSSendAppPreferencesChanged(CFSTR("InvertColorsEnabled"), CFSTR("com.apple.springboard"));

When I run this code, nothing happens and I get no errors on syslog.

Thanks,

Pedro.


Is the order of your arguments correct? I'm only wondering if you should switch the two arguments. Looking here, they seem to use the com.apple.springboard string as the first argument.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜