HII每一个问题与基于导航模板
我创建一个基于导航应用&我正在编程设计的屏幕,我需要有2个栏按钮,即左barbutton项目&右侧栏按钮的项目,所以我必须使用以下在代码 - (空)的loadView方法,但是当控制器进入的loadView方法,其崩溃,,任何一个可以告诉我,什么是错在这段代码中,感谢名单提前
self.title = @"Add Item";
self.navigationItem.leftBarButtonItem = [[[UIBarButtonItem alloc]
initWithBarButtonSystemItem:UIBarButtonSystemItemCancel
target:self action:@selector(cancel_Clicked:)] autorelease];
self.navigationItem.rightBarButtonItem = [[[UIBarButtonItem alloc]
initWithBarButtonSystemItem:UIBarButtonSystemItemSave
target:self action:@selector(save_Clicked:)] autorelease];
self.view.backgroundColor = [UIColor groupTableViewBackgroundColor];
什么是崩溃日志你得到? – 2011-05-03 04:51:42