在本地通知的警报正文中显示图像 [英] Show an image in the alert body of a local notification
本文介绍了在本地通知的警报正文中显示图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用本地通知,但我想在警报的邮件正文中放置一个图片。
I am using Local Notifications, but I want to put an image in the message body of the alert. How can I do that?
推荐答案
我还搜索了同一问题。发现我们不能定制 UILocalNotification
,所以我在应用程序中处理这个:didReceiveLocalNotification:
通过显示自定义 UIAlertView
。
I also searched for the same question. And found that we can't customize the UILocalNotification
, so I handled this in application:didReceiveLocalNotification:
by showing custom UIAlertView
.
这篇关于在本地通知的警报正文中显示图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文