0

我的 iPad 应用程序使用 (gcc) 在下面的 xcode 调试器中输出以下警告。这非常令人沮丧,因为我不知道如何调试它。

Using two-stage rotation animation. To use the smoother single-stage animation, this application must remove two-stage method implementations.

我确实使用以下方法进行旋转更改

-(void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation duration:(NSTimeInterval)duration{

    //with conditional statement like 

    if (interfaceOrientation == UIInterfaceOrientationPortrait || interfaceOrientation == UIInterfaceOrientationPortraitUpsideDown){

    //change images for portrait, redisplay any visible popovers

    }else{

    //change images for landscape, redisplay any visible popovers

    }

我没有使用任何较旧的两阶段方法。

该应用程序确实使用了一个根 tabbarController,其中包含两个 viewController 和一个 navigationController 选项卡。任何帮助都会很棒。

4

1 回答 1

0

可能不是真正的警告或旧版本的副产品,因为当我将另一台 Mac 与另一台运行最新的 xcode 4.3.3 和 iPad iOS 5.1 的 iPad 一起使用时我没有收到警告(警告是在 xcode 4.2 和 iOS 4.3 上)

另请注意,这些警告仅在设备本身而不是在模拟器中运行时出现。

希望对其他人有所帮助。

于 2012-07-30T06:37:12.680 回答