UIViewController viewDidLoad vs. viewWillAppear: What is the proper division of labor?
viewDidLoad is things you have to do once. viewWillAppear gets called every time the view appears. You should do things that you only have to do once in viewDidLoad – like setting your UILabel texts. However, you may want to modify a specific part of the view every time the user gets to view it, … Read more