Save an image in sandbox as wallpaper

Discussion in 'iPhone Tips, Help and Troubleshooting' started by aob, Jun 9, 2009.

  1. aob macrumors newbie

    Joined:
    Jun 9, 2009
    #1
    Hi,

    I am designing an iPhone game and want to also allow the player to save some game images as wallpaper onto their iPhone. I heard that we cannot do it because all images are in the sandbox and cannot be saved as iPhone wallpapers.

    Can anyone confirm this or is there a way of doing this?

    Thanks in advance,

    Anne
     
  2. iFerd macrumors 6502a

    Joined:
    Jul 20, 2007
    #2
    Would taking screen shots of the application work? Or are you talking about other images?
     
  3. aob thread starter macrumors newbie

    Joined:
    Jun 9, 2009
    #3
    I add these images in the Resources folder in Xcode.
     
  4. aob thread starter macrumors newbie

    Joined:
    Jun 9, 2009
    #4
    I can save the image used in my app to Settings -> Wallpaper -> Camera Roll by calling UIImageWriteToSavedPhotosAlbum.
     

Share This Page