我得到這個警告UIViewAnimation導致從枚舉類型
從枚舉類型從最後一行「UIViewAnimationCurve」不同的枚舉類型「UIViewAnimationTransition」在此代碼
隱式轉換
if (((UIView*)[[slideViews subviews] objectAtIndex:0]).frame.origin.x > SLIDE_VIEWS_MINUS_X_POSITION) {
UIView* tempRight2View =[[slideViews subviews] objectAtIndex:[[slideViews subviews] count]-1];
[UIView beginAnimations:@"ALIGN_TO_MINIMENU" context:NULL];
[UIView setAnimationTransition:UIViewAnimationCurveEaseInOut forView:viewAtLeft cache:YES];
隱式轉換
我從StackScrollView調整代碼,任何知道如何「明確」轉換?
TIA
方法'[UIView beginAnimations:context:]'已被棄用,您不應該再使用它了。 – Sulthan 2012-02-23 14:25:42