用極光推送,如果不透過點擊推播的通知進入app,而是透過點擊app圖示進入app, 那麼怎麼取得它已經推播過的訊息?
人生最曼妙的风景,竟是内心的淡定与从容!
已經找到答案,這個在行動端,我們要加入 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkDidReceiveMessage:) name:kJPFNetworkDidReceiveMessageNotification object:nil];
已經找到答案,這個在行動端,我們要加入 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkDidReceiveMessage:) name:kJPFNetworkDidReceiveMessageNotification object:nil];
然後實作方法- (void)networkDidReceiveMessage:(NSNotification *)notification;