iPhone:强制更新SBFakeTimeString

发布于 2024-08-12 15:25:56 字数 482 浏览 5 评论 0原文

我想创建一个程序,以十六进制(geektime.org 格式)显示时钟来代替当前时间。我知道可以在 com.apple.springboard.plist 文件中 SBFakeTimeString 键下的该位置设置自定义字符串,但它仅在刷新状态栏时更新(即转到/从跳板)。 Erica Sadun 的 MakeItMine 应用程序立即更新它,但我无法找到任何源代码。我找到了 dlsym/GSSendAppPreferencesChanged 函数(http://pastie.org/559006/wrap),但执行时会删除 .plist。这是正确的方法还是我应该使用某种 WinterBoard hack?

编辑: 我知道 Erica Sadun 的 setBanner 程序,但每次运行它时它总是输出“Killed”

iPod Touch 1st Gen, 3.1.1

I want to create a program that displays the clock in hexadecimal (geektime.org format) in place of the current time. I know that it is possible to set a custom string in that location in the com.apple.springboard.plist file under the SBFakeTimeString key, but it only updates when the status bar is refreshed (ie goto/from springboard). Erica Sadun's MakeItMine app updates it instantly, but I am unable to find any source code. I have found the dlsym/GSSendAppPreferencesChanged function (http://pastie.org/559006/wrap), but when executed, erases the .plist. Is this even the correct way to go or should I use some sort of WinterBoard hack?

EDIT:
I know of the setBanner program from Erica Sadun, but everytime I run it it always outputs "Killed"

iPod Touch 1st Gen, 3.1.1

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

眼藏柔 2024-08-19 15:25:57

听起来你想对移动基板进行调整。转储 Springboard 的标题并找到更新状态栏中时间的部分,挂钩该功能并让它显示您自己的时间。

Sounds like you want to make a mobile substrate tweak. Dump Springboard's headers and find the part that updates the time in the status bar, hook that function and have it display your own time.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文