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