1

I know just enough about programming to know that what I'm asking for should be possible, but I have no idea how to make it happen. Hopefully someone here can help me out :)

My iPhone is jailbroken and working great. Just 1 problem. My Notification Center resets to defaults after a respring. I've tried various fixes that the general jailbreak community suggested, but nothing works. I have to go into the Notification Center settings and set it back up to my liking, and then it works perfectly until the next time I respring, and it all goes back to defaults again. And if you've ever had a jailbroken iPhone then you know that between installing tweaks and themes and all that, resprings are common.

Basically my idea was to have a script that runs automatically after a respring to configure the Notification Center back to how I like it. It would just automate the process of flipping a few toggles and reordering the apps that show up in the NC. In my mind this doesn't sound too complicated, just some boolean type stuff, but again, with my very limited knowledge of programming, I could be oblivious to what all would go into something like this.

So what do you guys think, would this be possible? Hopefully not too difficult? If you want to know the settings I would like to change I can provide that info.

4

1 回答 1

0

通知中心将其设置存储在/var/mobile/Library/BulletinBoard. 您可能会对文件感兴趣,SectionInfo.plist首先SectionOrder.plist ,尝试检查它们的权限,这可能是它们没有被保存的可能原因。应该是-rw-r--r-- mobile:mobile。您可以备份这些文件并在您的 NC 再次出现问题时恢复它们,或者编写脚本并从终端运行它,例如

cp /var/mobile/Library/BulletinBoard/SectionInfo.plist_backup /var/mobile/Library/BulletinBoard/SectionInfo.plist
于 2014-01-26T16:05:16.870 回答