change jump
This commit is contained in:
@@ -668,7 +668,7 @@
|
||||
"$(inherited)",
|
||||
"$(PROJECT_DIR)/ShenQi",
|
||||
);
|
||||
MARKETING_VERSION = 1.0;
|
||||
MARKETING_VERSION = 1.1;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = noti.testAPP;
|
||||
PRODUCT_NAME = TESTAPP;
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
@@ -721,7 +721,7 @@
|
||||
"$(inherited)",
|
||||
"$(PROJECT_DIR)/ShenQi",
|
||||
);
|
||||
MARKETING_VERSION = 1.0;
|
||||
MARKETING_VERSION = 1.1;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = noti.testAPP;
|
||||
PRODUCT_NAME = TESTAPP;
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
|
||||
Binary file not shown.
@@ -219,15 +219,17 @@
|
||||
options:NSJSONReadingMutableContainers
|
||||
error:&err];
|
||||
if (!ISNULL(messageNotiDic)) {
|
||||
NSInteger type = [[messageNotiDic objectForKey:@"type"] integerValue];// 1 文字 2 图片 3 链接
|
||||
NSString *image = [messageNotiDic objectForKey:@"image"];
|
||||
NSString *jumpUrl = [messageNotiDic objectForKey:@"jumpUrl"];
|
||||
// NSInteger type = [[messageNotiDic objectForKey:@"type"] integerValue];// 1 文字 2 图片 3 链接
|
||||
// NSString *image = [messageNotiDic objectForKey:@"image"];
|
||||
// NSString *jumpUrl = [messageNotiDic objectForKey:@"jumpUrl"];
|
||||
NSInteger pushId = [[messageNotiDic objectForKey:@"pushId"] longValue];
|
||||
|
||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2.0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
||||
NotiCenterViewController *notiCenterViewController = [[NotiCenterViewController alloc] initWithNibName:@"NotiCenterViewController" bundle:nil];
|
||||
notiCenterViewController.modalPresentationStyle = UIModalPresentationFullScreen;
|
||||
notiCenterViewController.pushId = pushId;
|
||||
[self.window.rootViewController presentViewController:notiCenterViewController animated:NO completion:nil];
|
||||
});
|
||||
|
||||
// 上传点击 pushId
|
||||
if (pushId > 0) {
|
||||
|
||||
Reference in New Issue
Block a user