大家好我想在我的项目中添加CorePlotGallery,但我不能这样做,因为当我想在我的菜单中调用RootViewController.m我有错误这个我的功能:
- (IBAction)statistic:(id)sender {
RootViewController *detai= [[RootViewController alloc] initWithNibName:@"RootViewController" bundle:nil];
[self.navigationController pushViewController:detai animated:YES]; [detai release];
}
错误就在这里
plotItem = [[PlotGallery sharedPlotGallery] objectAtIndex:indexPath.row];
cell.imageView.image=[plotItem image];
cell.textLabel.text = plotItem.title;