2016-01-06 60 views

回答

0

我認爲你必須使用:

LocalNotification( 
    id,fireDate, alertTitle, alertBody, alertAction, 
    userInfo, launchImage, applicationIconBadgeNumber, 
    hasAction, repeatInterval, sound, smallIcon, autoCancel, 
    number, when, usesChronometer, vibrate, ticker, subText, 
    priority, actions, progress, bigText, bigPicture 
); 

Notifications API

+0

是這種方法會給相同類型的圖片和文字通知正如我所說?以及如何從服務器觸發相同的內容? –