小弟的代码:
UILocalNotification *notification = [[UILocalNotification alloc] init]; 
if (notification != nil) 
{   
NSDate *now = [NSDate new];   
notification.fireDate = [now dateByAddingTimeInterval:10];   
notification.timeZone = [NSTimeZone defaultTimeZone];   
notification.alertBody = @"测试";   
notification.soundName = UILocalNotificationDefaultSoundName;   
notification.applicationIconBadgeNumber = 1;     
[[UIApplication sharedApplication] scheduleLocalNotification:notification];     
[notification release]; 
}. 
现在的问题是,程序在后台时可以弹出一个推送通知,但是手机桌面上程序的icon图标数字不能改变,这是什么原因啊?