[ self.mainViewController getNotification];// 之前失敗,一直失敗,只有前臺(tái)和后臺(tái)的才可以卦羡,未啟動(dòng)不可以鲁森。
試著自己寫PHP推送啊祟滴,這樣遠(yuǎn)程調(diào)試麻煩的很。
現(xiàn)在限定下類型
[ (CSIIMenuIconsViewController*)self.mainViewController getNotification];
使用其他方式完成次任務(wù)歌溉,即單利context標(biāo)記有信息
DLog(@"我收到了aps,換圖垄懂。");
NSLog(@"我收到了aps,換圖。");
[Context sharedInstance].NumberOfMyMsg=1;
[ (CSIIMenuIconsViewController*)self.mainViewController getNotification];// 之前失敗痛垛,一直失敗草慧,只有前臺(tái)和后臺(tái)的才可以,未啟動(dòng)不可以匙头。