微信 通讯录 点好友 -》详细资料 -》 发消息 (push)-> 聊天界面
但返回的是 聊天记录,而不是 好友的详细资料,这个是怎么实现的?
连续pop两次,或者调用popToRootViewControllerAnimated直接到了根控制器
[self.navigationController popToRootViewControllerAnimated:YES];
[[NSUserDefaults standardUserDefaults] setObject:[NSNumber numberWithInteger:2] forKey:@"index"];
[[NSNotificationCenter defaultCenter] postNotificationName:JLCTABBARTOHOME object:nil];
我的先回rootViewController,再通知tabViewController到指定tab