如何在iPhone图标上加提示符(badge)
by Elton on 2010年02月21日, under iPhone
如果你使用Apple iPhone自带的Mail程序,你会注意到,当有新邮件的时候,在这个程序的图标(icon)上会显示对应的新邮件的数字。 如果你的应用程序也想有类似的功能,其实很简单:
-
-
- (void)applicationDidFinishLaunching:(UIApplication *)application {
-
//…
-
[application setApplicationIconBadgeNumber:123];
-
}
-
相关文章:



三月 20th, 2010 on 21:35
Was just searching yahoo and found your blog, love it.
三月 23rd, 2010 on 02:38
Nice blog adding this to my twitter now
五月 8th, 2010 on 00:17
:) Good point . You are absolutely right.
五月 21st, 2010 on 17:35
Thanks for the info… RSS feed added
七月 1st, 2010 on 11:22
What words..