presentModalViewController NOT animating when showing a TTMessageController

Posted by wgpubs on Stack Overflow See other posts from Stack Overflow or by wgpubs
Published on 2010-05-11T17:54:59Z Indexed on 2010/05/11 18:14 UTC
Read the original article Hit count: 269

I have a subclass of TTMessageController that shows ... BUT it is not animated even though it should be. The code that displays the modal view looks like this (where PostToWebMessageController is the subclass of TTMessageController:

if (self.toWebMsgController == nil) {
    self.toWebMsgController = [[PostToWebMessageController alloc] init];
}

UINavigationController *navController = [[UINavigationController alloc] init];
[navController pushViewController:self.toWebMsgController animated:NO];

[self presentModalViewController:navController animated:YES];

What happens though is this: The screen goes black ... the keyboard scrolls up into view ... and THEN the TTMessageController view shows up (not animated). When I dismiss the view via a Cancel button the screen goes black and then just disappears (no animation again).

Any ideas why this is happening? I've this with a number of other TT* controllers and I can't get one to animate right with showing modally.

Thanks

© Stack Overflow or respective owner

Related posts about three20

Related posts about presentmodalviewcontrolle