1

第一次使用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

谁知道发生了什么?

4

1 回答 1

0

我已经修好了,我的xib文件有800k,我也不知道怎么做。

<object class="NSColor" key="IBUINormalTitleColor">
 <int key="NSColorSpace">1</int> 
     <bytes>.................
</object>
于 2012-08-25T16:26:35.487 回答