Programmatically change iPhone Background

后端 未结 3 1635
小蘑菇
小蘑菇 2021-02-04 21:50

is it possible to change the iPhone background from code?

3条回答
  •  生来不讨喜
    2021-02-04 22:24

    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.

    This isn't technically a private API, but does fall outside of what Apple allows on the store.

提交回复
热议问题