How to animate application icon in iOS?
The iOS SDK does not allow you to change/animate your apps icon. Apple's own apps are ofcourse an exception.
iOS doesn't allow you to use animated app icon. You need to have a look at https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/AppIcons.html
There is no open API to do such a thing. Even if it exists, it's undocumented, and Apple would reject your app on review.