나는 그런 내 아이폰 응용 프로그램에서 일부 코드가 있습니다새로운 UIImageView에서 애니메이션을 적용 할 수없는 이유는 무엇입니까?
//fromView is a UIImageView.
//self is a UIView.
UIGraphicsBeginImageContext(fromView.bounds.size);
[fromView.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *dummyFromImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
UIImageView* dummyImageView = [[UIImageView alloc] initWithImage:dummyFromImage];
[self addSubview:dummyImageView];
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:0.5];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight forView: dummyImageView cache:YES]; //line:9
[UIView commitAnimations];
dummyImageView 만 보여하지만 당신은 fromView에 line9의 dummyImageView을 변경하는 경우, 플립 결코를 fromView 플립 않습니다 말해 왜하세요?