is it possible to change the iPhone background from code?
Nope, you can only save a picture for the user to set as a background.