У меня есть код:
NSArray * imageArray = [[NSArray alloc] initWithObjects:
[UIImage imageNamed:@"1.png"],
[UIImage imageNamed:@"2.png"],
[UIImage imageNamed:@"3.png"],
[UIImage imageNamed:@"4.png"],
[UIImage imageNamed:@"5.png"],
[UIImage imageNamed:@"6.png"],
[UIImage imageNamed:@"7.png"],
[UIImage imageNamed:@"8.png"],
[UIImage imageNamed:@"9.png"],
[UIImage imageNamed:@"10.png"],
[UIImage imageNamed:@"11.png"],
[UIImage imageNamed:@"12.png"],
nil];
UIImageView * imgView = [[UIImageView alloc] initWithFrame:
CGRectMake(100, 125, 150, 130)];
imgView.animationImages = imageArray;
imgView.animationDuration = 2;
imgView.contentMode = UIViewContentModeBottomLeft;
[self.view addSubview:imgView];
[imgView startAnimating];
Как видите, этот код реализует анимацию (изменение) набора изображений в массиве imageArray.
Во время анимации каждое изображение изменяется с постоянным интервалом времени, скажем, анимируется переходом easyNone.
Но как сделать эту анимацию с переходом easyIn, easyInOut?