Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

tsornin

macrumors newbie
Original poster
Jul 23, 2002
26
0
Is there a way for my app to allow the user to change their wallpaper? I'd like to include some images in my app and let the user choose one for their default wallpaper image.
 

depl0y

macrumors newbie
Sep 20, 2008
10
0
If you can get your image in an UIImage object, you can use the following code:

UIImageWriteToSavedPhotosAlbum(yourUIImageObject, nil, nil, nil);

That adds your image to the photo library. You should check out the documentation on what all parameters do.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.