Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create dynamic icon like calendar icon of ios 7?

Tags:

ios7

I want to create dynamic text changing icon like the calendar app in iOS 7 is there any way to do so?

like image 721
Ashish Khobragade Avatar asked May 26 '14 09:05

Ashish Khobragade


People also ask

Can we change app icon dynamically in iOS?

The setAlternateIconName method is used to change the App Icon to its primary icon or to one of its alternate icons. If alternateIconName is nil then the default App Icon will be used. Finally, alternateIconName returns the name of the alternate icon currently used, or nil if the default icon is used.


2 Answers

You can not do this, there is no API allowing this.

Your apps icon is in your application bundle which is readonly and therefor can not be modified.

like image 118
rckoenes Avatar answered Sep 26 '22 05:09

rckoenes


Sorry brother ... !! There is no API for your requirement. Apple does this only for their apps. Your app icon must be bundled with your application bundle.

like image 35
Amitabha Avatar answered Sep 23 '22 05:09

Amitabha