Custom Dynamic Wallpaper in iOS 7

Apple recently introducing unique Wallpaper in iOS 7, beside using parallax effect. Now is iOS 7 user able to made some Custom Dynamic Wallpaper on it.

Hamza Sood, one iOS Developer made some tiny code to make custom dynamic wallpaper in iOS 7 become more easier and interesting idea. Check the code on GitHub and you can see the Demo below.

On GitHub Hamza Sood said

Custom dynamic wallpapers on iOS 7:

Dynamic wallpapers are stored in bundles which get loaded into SpringBoard, located at /System/Library/ProceduralWallpaper.

A bundle declares the class name for each dynamic wallpaper it contains via the key “SBProceduralWallpaperClassNames” in its Info.plist file (The expected value for that key is an array, so bundles can contain multiple dynamic wallpapers)

Each class representing a dynamic wallpaper must conform to the “SBFProceduralWallpaper” protocol, which is declared in a private framework called “SpringBoardFoundation”. The view returned via this protocol is what is actually displayed on screen. For convenience, SpringBoardFoundation contains a class called “SBFProceduralWallpaper”: a UIView subclass which returns itself for the view to be displayed.

Implementing this in OpenGL may have been slightly overkill, oh well…

Interesting to play with it?



Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan.

Situs ini menggunakan Akismet untuk mengurangi spam. Pelajari bagaimana data komentar Anda diproses.