0

我正在创建这样的本地通知:

UILocalNotification * notification = [[UILocalNotification alloc] init];
notification.alertBody = @"Alert body";
notification.alertAction = @"Yes";
notification.fireDate = [NSDate date];

[[UIApplication sharedApplication] presentLocalNotificationNow:notification];

如果它在手机锁定时出现,则只有在“滑动解锁”滑块之前显示的短信。我知道可以显示一些带有警报的图标。我的应用程序的图标大小为 57 x 57。有什么建议吗?

Foursquare可以做到这一点

4

1 回答 1

1

请仔细检查您是否真的为您的应用程序设置了完整的图标。

这是通用应用程序的完整图标集列表:

- 1024 by 1024 (Retina iTunes artwork)
- 512 by 512 (iTunes artwork)
- 144 by 144 (Retina iPad)
- 114 by 114 (Retina iPhone)
- 96 by 96 (Retina iPad Spotlight)
- 72 by 72 (iPad icon)
- 58 by 58 (Retina iPhone Spotlight)
- 57 by 57 (iPhone icon)
- 48 by 48 (iPad Spotlight)
- 29 by 29 (iPhone Spotlight)
于 2012-08-03T16:19:36.900 回答