user2646711
user2646711

Reputation: 31

Get Iphone User Wallpaper?

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

Answers (1)

Laszlo
Laszlo

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.

source

Upvotes: 1

Related Questions