Setting iPhone wallpaper (locked screen background) programmatically?
Asked Answered
K

2

5

I have an app which could benefit from the user being able to choose to set an image as the wallpaper (the background image on the "slide to unlock" screen).

Is there a way for non-jailbreak third-party apps to do this? A search for "wallpaper" in the iPhone documentation returns nothing.

Karli answered 30/10, 2008 at 1:16 Comment(0)
S
6

There is no way to do this with the current SDK, if you want to do it you should file a bug.

Sixtyfour answered 30/10, 2008 at 2:16 Comment(0)
U
6

If you're writing a jailbreak application you can write to /var/mobile/Library/LockBackground.jpg and then kill the Springboard.

Underpin answered 31/10, 2008 at 0:9 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.