0

Possible Duplicate:
Getting “Using two-stage rotation animation” warning with UIImagePickerController

In my iphone app i have a login screen after loging in i am navigating to a class ( i have tab barcontroller with 5 tabs here)

like this i am programmatically creating the tabbar

    tabBarController = [[UITabBarController alloc] init];

    NSMutableArray *arrControllers = [[NSMutableArray alloc] initWithCapacity:5];

    //Add PunchClock to tab View Controller
    PunchClock* objPunchClock = [[PunchClock alloc] initWithTabBar];
    NavigationController = [[UINavigationController alloc] initWithRootViewController:objPunchClock];
    NavigationController.navigationBar.tintColor = [UIColor brownColor];
    [arrControllers addObject:NavigationController];
    [NavigationController release];
    [objPunchClock release];
 tabBarController .viewControllers = arrControllers;

    [arrControllers release];
    [self.view addSubview:[tabBarController view]];

after logging in while navigating to this class i am getting this Debugger warning

2012-07-07 12:09:27.988 WorkForce[1475:207] Using two-stage rotation animation. To use the smoother single-stage animation, this application must remove two-stage method implementations.
2012-07-07 12:09:28.074 WorkForce[1475:207] Using two-stage rotation animation is not supported when rotating more than one view controller or view controllers not the window delegate

what is it mean,,,how to remove this warning? please help me out

Community
  • 1
  • 1
Ravi
  • 1,759
  • 5
  • 20
  • 38

2 Answers2

0

I have no idea what that error message means but when you get such a specific error message, it is often helpful to do a search with the entire error message in quotes to see if anyone else has encountered it.

Apparently they have. Please report back and tell us what it means.

spring
  • 18,009
  • 15
  • 80
  • 160
0

The two-halves animation methods like willAnimateFirstHalfOfRotationToInterfaceOrientation:duration: and willAnimateSecondHalfOfRotationToInterfaceOrientation:duration: are an older approach. If you've implemented these methods, they should be removed so that the one-step scheme (in this case, willAnimateRotationToInterfaceOrientation:duration:) can be used.

Kevin Grant
  • 5,363
  • 1
  • 21
  • 24