willAnimateRotationToInterfaceOrientation not firing iphone UIInterfaceOrientation
- by harekam_taj
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];