以编程方式更改iPhone背景 [英] Programmatically change iPhone Background
本文介绍了以编程方式更改iPhone背景的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以从代码中更改iPhone背景?
is it possible to change the iPhone background from code?
推荐答案
如果你写一个新的png到 /User/Library/LockBackground.png
然后调用 notify_post(com.apple.language.changed);
设备将重新启动并且你的新背景将会出现。
If you write a new png to /User/Library/LockBackground.png
and then call notify_post(" com.apple.language.changed");
the device will respring and your new background will be present.
这在技术上不是私人API,但确实超出了Apple在商店允许的范围。
This isn't technically a private API, but does fall outside of what Apple allows on the store.
这篇关于以编程方式更改iPhone背景的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文