【问题标题】:UIImagePickerController console messageUIImagePickerController 控制台消息
【发布时间】:2010-07-30 20:56:25
【问题描述】:

我正在使用 UIImagePickerController 从照片库中选择图像。但我在控制台上收到一条消息,上面写着"Using two-stage rotation animation. To use the smoother single-stage animation, this application must remove two-stage method implementations."

这是因为什么?

谢谢

【问题讨论】:

    标签: objective-c uikit uiimagepickercontroller


    【解决方案1】:

    似乎有几个人遇到了同样的问题。这些链接都没有提供解决方案(据我所知),所以这篇文章只是作为更多搜索的起点。我已经顺时针了。

    【讨论】:

      【解决方案2】:

      这通常意味着您已经实现了以下之一:

      willAnimateFirstHalfOfRotationToInterfaceOrientation:duration:
      willAnimateSecondHalfOfRotationFromInterfaceOrientation:duration:
      

      在您的一个视图控制器上,即使它们是空的。这既没有错误也没有被弃用,该消息只是说如果您将实现移至以下位置可能会做得更好:willAnimateRotationToInterfaceOrientation:duration:

      【讨论】:

        猜你喜欢
        • 2012-05-02
        • 1970-01-01
        • 1970-01-01
        • 2014-02-01
        • 2017-10-23
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多