Junior — Middle
How many times does viewDidLoad get called in the lifecycle of a UIViewController?
sobes.tech AI
Answer from AI
The viewDidLoad method is called exactly once during the lifecycle of a UIViewController instance. This call occurs after the controller has loaded its view into memory, but before it appears on the screen. If the view is unloaded from memory (for example, during low memory conditions) and then loaded again, viewDidLoad may be called again for the same controller.