0

在我的应用程序中,我想为UILocalNotification. 每当通知发生时,就会显示图像,并开始播放一些音乐。然后,当用户点击屏幕时,图像会消失,声音也会停止。我怎样才能做到这一点?

4

2 回答 2

0

无法自定义本地通知。您只需更改文本并添加一两个按钮即可。请参阅此问题以获取更多信息。

于 2011-06-20T07:29:54.833 回答
0

这不可能。您可以为通知点击添加启动图像。

 @property(nonatomic,copy) NSString *alertLaunchImage;   // used as the launch image (UILaunchImageFile) when launch button is tapped
于 2014-08-13T14:58:43.273 回答