willAnimateRotationToInterfaceOrientation not firing iphone UIInterfaceOrientation

Posted by harekam_taj on Stack Overflow See other posts from Stack Overflow or by harekam_taj
Published on 2010-03-08T01:24:25Z Indexed on 2010/03/08 1:49 UTC
Read the original article Hit count: 524

Filed under:
|

Hello,

I have a view inside a tabbarcontroller and navigationcontroller and my willAnimateRotationToInterfaceOrientation method is not firing.

I have set the view to be FirstResponder and also shouldAutorotateToInterfaceOrientation returning YES;

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) 
interfaceOrientation { 
        return YES;

} 
-(BOOL)canBecomeFirstResponder
{
    return YES;
}

[self becomeFirstResponder];

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk