在苹果文档中
setAnimationRepeatAutoreverses:
Sets whether the animation of property changes within an animation block automatically reverses repeatedly.
Use of this method is discouraged in iOS 4.0 and later. You should use the block-based animation methods instead.
他们这样提到......但我的应用程序支持 3.0 或更高版本。我是否需要使用两个单独的代码(一个用于 3.0,一个用于 4.0 以上的块)。如何做到这一点?