Is there anything like viewDidLoad for the loading of the app's main xib?
As in the one defined with "Main nib file base name" in the app's Info.plist. Should I just use applicationDidFin开发者_如何学JAVAishLaunching
?
Yes, applicationDidFinishLaunching:
gets called after the main nib has been loaded.
Also, according to the documentation (for iPhone OS 3.0):
It is recommended that you implement application:didFinishLaunchingWithOptions: instead of this method. See the class description for the differences in calling sequences between the two methods.
精彩评论