如微信的跳转,通讯录->好友->发消息,点击返回,返回到首页消息列表
```
JYAppDelegate *delegate = (JYAppDelegate*)[[UIApplication sharedApplication]delegate];
JYTabBarController *tabBarVC = (JYTabBarController*)delegate.window.rootViewController;
tabBarVC.selectedIndex=0;
[self.navigationController popViewControllerAnimated:NO];
JYTestVC *testVC = [[JYTestVCalloc]init];
[tabBarVC.viewControllers[0] pushViewController:testVC animated:YES];
```
网友评论