I am in the appdelegate of my application. How can I add a modal view controller in the \"didfinishlaunching\" method?
I tried the following but did not work
<
Assuming tabController and navigationController are not nil, the applicationDidFinishLaunching may be too soon to display the modal view controller.
[self.window makeKeyAndVisible];
UIWindowDidBecomeKeyNotification
for that window