Two-stage rotation animation is deprecate.This application should use the smoother single-stage animation.、
在ios6.0以后很多函数都被deprecate掉了。而这种警告常常是
didAnimateFirstHalfOfRotationToInterfaceOrientation:
willAnimateFirstHalfOfRotationToInterfaceOrientation:duration:
willAnimateSecondHalfOfRotationFromInterfaceOrientation:duration:
willAnimateFirstHalfOfRotationToInterfaceOrientation:duration:
willAnimateSecondHalfOfRotationFromInterfaceOrientation:duration:
这三个函数重载造成的。只需在项目中重载
willAnimateRotationToInterfaceOrientation:duration即可