0
我有一个基于导航的应用程序。 第一种观点是的tableView,当我按下第三单元我会导航到一个MapViewControllerMKMapView - iphone开发
else if (2 == indexPath.row)
{ MapViewController *maps = [[MapViewController alloc] initWithNibName:@"MapViewController" bundle:nil];
[email protected]"Maps";
[self.navigationController pushViewController:maps animated:YES];
[maps release];
}
什么不对的代码?我收到一个错误!
什么错误? – Anna
该视图未加载(未导航) –
2011-07-24 01:41:03.663 CafeYounes [11858:207] ***由于未捕获异常'NSInvalidUnarchiveOperationException'导致应用终止,原因:'*** - [NSKeyedUnarchiver decodeObjectForKey :]:无法解码类的对象(MKMapView)' ***一次调用堆栈: –