Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
921 views
in Technique[技术] by (71.8m points)

cocoa touch - Dynamic iPhone App icons?

The calender app does it... How can I make an app icon change based on stored info from the iPod or iPod app settings?

EDIT: I realized today that it is possible to access bundles via the sdk. (At least read access) If I had a graphics API (OpenGL, perhaps) then I could possibly modify the icon like that. The operation would be:

  • get icon.png from bundle.
  • modify it
  • resave it into the bundle.

Does that make sense?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Just as a note, Apple's Calendar app is actually hardcoded into the system to display a view over the icon. Put it on the left of the first page and drag to SpotLight, you will notice that the text fades out differently.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...