Is there an iPhone SDK API that I can use to get the current wallpaper image? I would like to use this image in a game.
As far as I'm aware, there is currently no API that enables you to do this.
There is no API to do this, but you may be able to load /User/Library/LockBackground.jpg using +[UIImage imageWithContentsOfFile:]
Note: this file won't exist if the user hasn't changed from the default "globe" wallpaper
There is a private API, usual App Store rejection disclaimer applies
[UIImage defaultDesktopImage]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.