你的位置:首页 > 操作系统

[操作系统]IOS 控制器生命周期


两个控制器A push B && B pop A

2015-06-10 15:55:41.974 vdavadf[7043:212405] A _ VC viewDidLoad

2015-06-10 15:55:41.975 vdavadf[7043:212405] A _ VC viewWillAppear

2015-06-10 15:55:41.986 vdavadf[7043:212405] A _ VC viewWillLayoutSubviews

2015-06-10 15:55:41.986 vdavadf[7043:212405] A _ VC viewDidLayoutSubviews

VC上View还未显示

2015-06-10 15:55:42.067 vdavadf[7043:212405] A _ VC viewDidAppear

VC上View已经显示

2015-06-10 15:55:55.961 vdavadf[7043:212405] push

2015-06-10 15:55:55.961 vdavadf[7043:212405] A _ VC viewWillDisappear

2015-06-10 15:55:55.962 vdavadf[7043:212405] B _ VC viewWillAppear

2015-06-10 15:55:55.965 vdavadf[7043:212405] B _ VC viewWillLayoutSubviews

2015-06-10 15:55:55.965 vdavadf[7043:212405] B _ VC viewDidLayoutSubviews

2015-06-10 15:55:56.466 vdavadf[7043:212405] A _ VC viewDidDisappear

2015-06-10 15:55:56.467 vdavadf[7043:212405] B _ VC viewDidAppear

2015-06-10 15:57:45.818 vdavadf[7043:212405] pop

2015-06-10 15:57:45.818 vdavadf[7043:212405] B _ VC viewWillDisappear

2015-06-10 15:57:45.818 vdavadf[7043:212405] A _ VC viewWillAppear

2015-06-10 15:57:46.321 vdavadf[7043:212405] B _ VC viewDidDisappear

2015-06-10 15:57:46.321 vdavadf[7043:212405] A _ VC viewDidAppear