推送跳转代码总结
来源:互联网 发布:godaddy便宜域名1 编辑:程序博客网 时间:2024/06/16 16:30
AppDelegate *delegate = (AppDelegate *)[UIApplication sharedApplication].delegate; UITabBarController* TabBar = (UITabBarController*)delegate.viewController; CustomUINavigationViewController* Navigation = TabBar.viewControllers[ TabBar.selectedIndex]; if ([string isEqualToString:@"null"]) { } else { if ([type isEqualToString:@"6"]) {//跳转到详情 if ([orderType isEqualToString:@"普通"]) {//判断是跳转到普通还是预定的详情 OrderDetailViewController *orderDetailCon = [[OrderDetailViewController alloc]init]; orderDetailCon.orderId = string;//订单id orderDetailCon.orderState = state;//发货状态 [Navigation pushViewController:orderDetailCon animated:YES]; }else{//跳转到预定 ReserverOrderDetailVC *reserverOreder = [[ReserverOrderDetailVC alloc]init]; reserverOreder.orderId = string;//订单id reserverOreder.orderState = state;//发货状态 [Navigation pushViewController:reserverOreder animated:YES]; } }else if ([type isEqualToString:@"7"]){ WalletViewController *walletCon = [[WalletViewController alloc]init]; [Navigation pushViewController:walletCon animated:YES]; }else if ([type isEqualToString:@"8"]){ CouponViewController *coupCon = [[CouponViewController alloc]init]; [Navigation pushViewController:coupCon animated:YES]; }else if ([_TYPE isEqualToString:@"10"]) { [[NSNotificationCenter defaultCenter] postNotificationName:CLTabbarChangeBtnImgNotification object:self userInfo:@{@"toIndex":@"2"}]; }else{//跳转到首页 [[NSNotificationCenter defaultCenter] postNotificationName:CLTabbarChangeBtnImgNotification object:self userInfo:@{@"toIndex":@"0"}]; }
0 0
- 推送跳转代码总结
- 极光推送 推送处理总结 点击通知跳转
- 推送跳转
- 页面定时跳转(倒计时跳转)代码总结
- 页面定时跳转(倒计时跳转)代码总结
- 页面定时跳转(倒计时跳转)代码总结
- 页面定时跳转(倒计时跳转)代码总结
- 各种页面定时跳转(倒计时跳转)代码总结
- 推送通知的跳转
- 极光推送页面跳转
- ios推送 程序未启动,收到推送消息,打开应用后跳转到相应的活动页面的代码。
- 推送总结
- phonegap+极光推送+页面跳转
- 推送跳转到指定页面
- 极光推送点击跳转问题
- 极光推送广播接收器 跳转~
- 信鸽推送 Android 跳转Activity
- jsp页面跳转后台代码的方式总结~
- IT人经济思维之投资
- 在论坛中出现的比较难的sql问题:44(触发器专题 明细表插入数据时调用主表对应的数据)
- 如何保存Xshell帐号密码?
- Oracle存储过程及调用
- Java保留字大全及其释义
- 推送跳转代码总结
- html静态页面引入公共html页面
- 使用PowerDesigner进行代码生成
- imageNamed与imageWithContentsOfFile的区别
- ERP概述
- Java 并发工具包 java.util.concurrent 用户指南
- 开源免费天气预报接口API以及全国所有地区代码!!(国家气象局提供)
- 【UE4教程文档翻译】First Person Shooter C++ Tutoria(第一人称射击C++教程)
- 【OpenCV入门指南】第二篇 缩放图像