我有一个导航控制器:
单击单元格按钮时,它会打开一个带有自己的 xib 文件的新视图:
ParkingData *aController = [[ParkingData alloc]initWithNibName:@"ParkingData" bundle:nil];
[[self navigationController] pushViewController:aController animated:YES];
它在代码中完美链接,但不在 viewControllers 数组中:
NSArray *viewArrays = [self.navigationController viewControllers];
NSLog(@"Views %@",viewArrays);
Views (
"<Favorite: 0x7c5f250>"
)
停车数据怎么样?我怎样才能添加它?
谢谢!