Clarification on viewDidLoad() and viewWillAppear()

I’m just wanting to make sure I understand these right. viewDidLoad() will only be called once when the view is first loaded but viewWillAppear() will happen every time the view is presented?

1 Like

Yes that is correct

You can find more information here. This is part of the view lifecycle

Ok perfect! Thanks for that link, that really helps solidify all of those because I also wasn’t sure what viewDidAppear is used for.

1 Like