通俗易懂的讲解iphone视图控制器的生命周期(2)
来源:未知 责任编辑:责任编辑 发表时间:2014-04-20 03:36 点击:次
	   
	self.view = view;
[view release];
NSLog(@"viiew %@",self.view);
}
- (void)viewDidLoad
{
    [super viewDidLoad];
   // NSLog(@"View %@",self.view);这里调用self.view方法要注意的事项,调用self.view方法的时候请确保view不是nil否则程序会引起错乱。
   
   
   
    // Do any additional setup after loading the view.
}
- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
@end
相关新闻>>
- 发表评论
- 
				
- 最新评论 进入详细评论页>>









![[iPhone中级]iPhone团购信息客户端的开发 (二)](/uploads/allimg/131022/200H11235-0-lp.png)
