My app has one view controller and one view. When I run my app on the simulator from xcode, the app loads and both viewDidLoad
, viewDidAppear
are called as expected.
When I go to the simulator home screen and then come back to the app, I expect
viewDidLoad
to be called, but it is not.When I QUIT the app by following these directions, and restart the app fresh, I expect both methods to be called, but neither are called.
If these events don't trigger those calls, then what will trigger those calls? It's hard to believe that on a real device, viewDidLoad is only called once - the first time the app is loaded.