ios controller的调用方法的周期

 

+(void)load;

+(void)initialize;

-(id)initwith...;

-(void)loadview;

-(void)viewDidLoad;

-(void)viewWillAppear:(BOOL)animated;

-(void)viewDidAppear:(BOOL)animated;

-(void)viewWillDisappear:(BOOL)animated;

-(void)viewDidDisappear:(BOOL)animated;

 

这是controller的调用顺序;

posted @ 2016-02-25 18:03  *宁宁  阅读(180)  评论(0编辑  收藏  举报