Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting iPhone wallpaper (locked screen background) programmatically?

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.

like image 362
Frank Schmitt Avatar asked Oct 30 '08 01:10

Frank Schmitt


People also ask

How do you make your Lock Screen wallpaper change automatically iPhone?

In the Shortcuts app, tap Automation at the bottom. Select Create Personal Automation. Here you will see a range of options of when you can make the automation run. For this tutorial, to automatically change your wallpaper at a specific time, tap Time of Day.

How do you make your Lock Screen wallpaper change automatically?

Set up and use the Dynamic Lock screenOpen Settings, and then tap Lock screen. Tap Wallpaper services. Tap Dynamic Lock screen and then tap Apply. If it's your first time enabling Dynamic Lock screen, you'll automatically be taken to the settings where you can select an image pack.


2 Answers

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

like image 143
Louis Gerbarg Avatar answered Oct 04 '22 02:10

Louis Gerbarg


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

like image 31
rpetrich Avatar answered Oct 04 '22 02:10

rpetrich