View load methods not firing.

Posted by 4thSpace on Stack Overflow See other posts from Stack Overflow or by 4thSpace
Published on 2010-03-22T00:05:05Z Indexed on 2010/03/22 0:11 UTC
Read the original article Hit count: 382

I'm loading a view like this:

if(commentSubmissionView == nil){
    commentSubmissionView = [[CommentSubmissionController alloc] initWithNibName:@"CommentSubmissionView" bundle:nil];  
}
[self.view addSubview:commentSubmissionView.view];

viewDidLoad and viewWillAppear in commentSubmissionView do not fire. Is there something else I need to do?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk