收到推送通知,APP不显示推送通知,直接处理
- (BOOL)shouldHandleReceiveRemoteNotification:(NSDictionary *)userInfo {
if (![userInfo isKindOfClass:[NSDictionary class]]) {
return NO;
}
NSString *subject = userInfo[@"subject"];
if (subject == nil) {
return NO;
}
return ([subject isEqualToString:kKYC_SIGNZY_CALLBACK]);
}
网友评论