在这里,我需要从多个图像创建视频,但我还包括一个音频,我还包括Airplaycode
答案 0 :(得分:4)
我认为你想创建一个动画图像(系列图像)做一件事在背景或按钮点击播放音频和动画图像试试这个: -
animationView = [[UIImageView alloc] initWithFrame:CGRectMake(157,354, 45, 100)] ;
animationView.animationImages = [NSArray arrayWithObjects:
[UIImage imageNamed:@"image1.jpg"],
[UIImage imageNamed:@"image2.jpg"],
[UIImage imageNamed:@"image3.jpg"],
[UIImage imageNamed:@"image4.jpg"],[UIImage imageNamed:@"image7.jpg"],
[UIImage imageNamed:@"image5.jpg"],
[UIImage imageNamed:@"image6.jpg"], nil];
animationView.animationDuration = .65;
animationView.animationRepeatCount = 0;
[animationView startAnimating];
[self.view addSubview:animationView];
[animationView release];