代码之家  ›  专栏  ›  技术社区  ›  Biranchi

UIImagePickerController控制台消息

  •  1
  • Biranchi  · 技术社区  · 14 年前

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

    这是因为什么?

    谢谢

    2 回复  |  直到 14 年前
        1
  •  1
  •   e.James    8 年前

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

        2
  •  0
  •   tonklon    14 年前

    willAnimateFirstHalfOfRotationToInterfaceOrientation:duration:
    willAnimateSecondHalfOfRotationFromInterfaceOrientation:duration:
    

    在其中一个视图控制器上,即使它们是空的。这既不是错误的,也不是不赞成的,消息只是说,如果您将实现移动到以下位置,可能会做得更好: willAnimateRotationToInterfaceOrientation:duration: