Reputation: 31
In xcode, is it possible to get the image file that is currently being used at the user's wallpaper? I would like to display it as a background in my app.
Upvotes: 3
Views: 694
Reputation: 2778
It is not possible through public API-s, however if you wanted to use it as an iOS7 UIWindow
background, maybe this question will help you.
If you are jailbrooken then you can find the images there:
Homescreen: /var/mobile/Library/SpringBoard/HomeBackground.cpbitmap.
Lockscreen: /var/mobile/Library/SpringBoard/LockBackground.cpbitmap.
When wallpapers are the same there will be only one of those files.
Upvotes: 1