8

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

rmaddy
  • 314,917
  • 42
  • 532
  • 579
  • Nope. Definitely not without jailbreaking – Swapnil Luktuke May 26 '14 at 09:29
  • possible duplicate of [Changing Icon per Day](http://stackoverflow.com/questions/4038305/changing-icon-per-day) – rmaddy May 26 '14 at 16:26
  • yes their is way of doing that...you just need to write a script. – Surjeet Rajput Jun 03 '16 at 05:46
  • We can change the app icon dynamically, not flexible as built in Clock and calendar icon. By using these API's we can change app icons https://developer.apple.com/documentation/uikit/uiapplication/2806815-supportsalternateicons – RashmiG Sep 10 '18 at 13:03

2 Answers2

9

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.

rckoenes
  • 69,092
  • 8
  • 134
  • 166
  • yes i know this read only thing but how iOS 7 calendar icon manages there must be some way out – Ashish Khobragade May 26 '14 at 09:35
  • 1
    Well no, the clock is also changing, but you have no access these APIS. Just because Apple apps can do it, does not mean you can. Unless you are running your app on a jailbroke device you are out of luck. – rckoenes May 26 '14 at 09:49
  • 3
    Apple has good reasons to disallow it. It would make fora lousy user experience as all apps would fight for attention by animating more and more, creating a cacophony. And it would destroy battery life. Ultimately app developers are being saved from themselves. – Sergiy Migdalskiy Oct 07 '15 at 14:38
5

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.

Alex Zavatone
  • 4,106
  • 36
  • 54
Amitabha
  • 1,664
  • 1
  • 12
  • 30