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

    }

私は古い2段階の方法を使用していません。

アプリは、2 つの viewControllers と 1 つの navigationController タブを持つルート tabbarController を使用します。どんな助けでも素晴らしいでしょう。

4

1 に答える 1

0

最新の xcode 4.3.3 と iPad iOS 5.1 をすべて実行している別の iPad で別の Mac を使用すると警告が表示されないため、実際の警告または古いバージョンの副産物ではない可能性があります (警告は iOS 4.3 の xcode 4.2 で発生しました)

また、これらの警告は、デバイス自体で実行している場合にのみ表示され、シミュレーターでは表示されないことに注意してください。

それが他の誰かを助けることを願っています。

于 2012-07-30T06:37:12.680 に答える