首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > Iphone >

Iphone开发xcode4.0运行书下例子报错Thread 1:Program received signal:"SIGABRT"

2013-01-06 
Iphone开发xcode4.0运行书上例子报错Thread 1:Program received signal:SIGABRT书上例子“多视图应用程序

Iphone开发xcode4.0运行书上例子报错Thread 1:Program received signal:"SIGABRT"
书上例子“多视图应用程序” 
- (void)viewDidLoad 

    BlueViewController *blueController = [[BlueViewController alloc] 
    initWithNibName:@"BlueView" bundle:nil]; 
    self.blueViewController = blueController; 
    [self.view insertSubview:blueController.view atIndex:0];-----------------这里报错Thread 1:Program received signal:"SIGABRT" 
    [blueController release]; 
    [super viewDidLoad]; 
   // Do any additional setup after loading the view from its nib. 

我是新手,在网上找了好多方法都试过不行啊,哪位大虾帮忙解决下是什么原因啊???
[解决办法]
打印一下blueController对象,看看生成了没
[解决办法]
BlueViewController *blueController = [[BlueViewController alloc]  
  initWithNibName:@"BlueView" bundle:nil];  

BlueView的nib存在么

热点排行