appDidBecomeActive Called before Main View Controller is loaded

We have noticed a change in the sequence of app delegate/view controller callback's in iOS9 beta4 and beta5

Here is the sequence to reproduce the issue

- Kill the app from background running apps.

- Send remote notification to the device.

- On recieving the notification click/swipe on the notification to launch the app.

- Here sequence of call backs called is

didFinishLaunchingWithOptions

didRecieveRemoteNotification

appDidBecomeActive

viewDidLoad of the main view controller

So, appDidBecomeActive gets called before main view controller is loaded. In previous OS versions, appDidBecomeActive gets called after viewDidLoad of main view controler


Any one else facing this issue ? is there any reason for calling appDidBecomeActive before loading the main view ?