ios6.1和xcode4.6, enumaration警告

装了新的ios6.1和xcode4.6,然后在 enumaration 警告 UIViewAnimationCurveEaseOut

代码:

[UIView animateWithDuration:0.4
                          delay:0.0
                        options:UIViewAnimationCurveEaseOut
                     animations:^{

                     } completion:^(BOOL finished) {}];

警告:

Implicit conversion from enumeration type 'enum UIViewAnimationCurve' to different enumeration type 'UIViewAnimationOptions' (aka 'enum UIViewAnimationOptions')

如何解决这个警告?谢谢

用错了选项值,换成 UIViewAnimationOptionCurveEaseOut试试。

换成UIViewAnimationOptionCurveLinear就能过