I developed my application initially for iOS 4 and now that iOS 5 is out, I decided to develop an iOS 5 SDK that now seems to have broken my application.
I have a tab bar app with a navigation controller on each tab.
In iOS 4, everything that was in the method -application:didFinishLaunchingWithOptions:was performed first after launch. After executing this method, the view controller for the first tab was loaded.
Therefore, when I register the process of launching the application (launch of the simulator for iOS 4.3 ), it looks like this:
-[AcandoAppDelegate application:didFinishLaunchingWithOptions:] [Line 35] didFinishLaunchingWithOptions method running
-[AcandoAppDelegate application:didFinishLaunchingWithOptions:] [Line 60] This should be executed first // And it does as it should
-[AcandoAppDelegate applicationDidBecomeActive:] [Line 254] applicationDidBecomeActive method running
-[SeminarsViewController viewDidLoad] [Line 58] 2 - viewDidLoad method running
-[SeminarsViewController viewDidLoad] [Line 60] This should be executed second // Also as it should
-[SeminarsViewController viewWillAppear:] [Line 123] 3 - viewWillAppear method running
-[SeminarsViewController viewDidAppear:] [Line 173] viewDidAppear running
Now, when I register the process of launching the application (running the simulator for iOS 5.0 ), it looks like this:
-[AcandoAppDelegate application:didFinishLaunchingWithOptions:] [Line 35] didFinishLaunchingWithOptions method running
-[SeminarsViewController viewDidLoad] [Line 58] 2 - viewDidLoad method running
-[SeminarsViewController viewDidLoad] [Line 60] This should be executed second // So this should be executed second but is executed first
-[SeminarsViewController viewWillAppear:] [Line 123] 3 - viewWillAppear method running
-[AcandoAppDelegate application:didFinishLaunchingWithOptions:] [Line 60] This should be executed first // And this is executed second but should be executed first
-[AcandoAppDelegate applicationDidBecomeActive:] [Line 254] applicationDidBecomeActive method running
-[SeminarsViewController viewDidAppear:] [Line 173] viewDidAppear running
- ? , iOS 4 iOS 5 :