I've been having this problem for awhile. I display a view controller and its view by calling presentModalViewController:animated:. Typically I call initWithNibName: in the init method of the view controller being passed to presentModalViewController:. Tracing the code viewDidLoad is called after viewWillAppear:. Isn't is supposed to be the other way around?

I created a new project using Xcode templates and it worked the way I would except, meaning viewDidLoad was called before viewWillAppear:.

Anybody have any ideas of what is going on or what I might be doing wrong?

Rod Schmidt
infiniteNIL Software
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to