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.
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.
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.
There is no way to do this with the current SDK, if you want to do it you should file a bug.
If you're writing a jailbreak application you can write to /var/mobile/Library/LockBackground.jpg
and then kill the Springboard.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With