- The viewWillAppear method is called when the presentation of the view in the view hierarchy is about to start.
- The viewDidAppear method is called when the presentation of the view is done, notably when any and all associated animation has finished.
What is the difference between -viewWillAppear: and -viewDidAppear:?
What is the difference between -[UIViewController viewWillAppear:] and -[UIViewController viewDidAppear:]?
stackoverflow.com
'Programming > Swift' 카테고리의 다른 글
Delegation (0) | 2020.10.15 |
---|---|
Class: UIControl (0) | 2020.10.14 |
IBAction and IBOutlet (0) | 2020.10.14 |
Storyboard 추가하기 (0) | 2020.10.14 |
mutating (0) | 2020.10.13 |