我有這個代碼來捲曲頁面,但我需要從左到右或從右到左捲曲頁面。請幫忙!從左到右和從右到左的UIImage捲曲
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:1.0];
//[UIView setAnimationBeginsFromCurrentState:NO];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:imagePage cache:YES];
//UIView *parent = self.view.superview;
//[self.view removeFromSuperview];
//[parent addSubview:moreInfo];
[imagePage setImage:[UIImage imageNamed:[collectionOfImages objectAtIndex:countForPages]]];
[UIView commitAnimations];
但我想捲曲效果不翻轉 –
檢查http://stackoverflow.com/questions/1625375/iphone-curl-left-and-curl-right-transitions – iOS
檢查http:// stackoverflow.com/questions/2929498/iphone-how-to-show-curl-animation-from-left-side – iOS