第一次使用pushViewController时,速度很慢(界面假死),第二次是正常速度。
控制器:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
B *b = [[B alloc] init];//xib which the content is very less
[self.navigationController pushViewController:b animated:YES];
[b release];
NSLog(@"yes\n");
}
B控制器:
-(void)viewDidLoad
{
[super viewDidLoad];
//i have deleted all code
}
//-(void)viewWillAppear.....
主要的:
//https://github.com/ipup/PPRevealSideViewController
A* a = [[A alloc] init];
UINavigationController* n = [[UINavigationController alloc] initWithRootViewController:a];
PPRevealSideViewController* revealSideViewController = [[PPRevealSideViewController alloc] initWithRootViewController:n];
//tabbar add revealSideViewController
谁知道发生了什么?