开发者

synchronization for audio and video

Here i need to created t开发者_如何学JAVAhe video from number of images but i also include a audio also i also included the Airplaycode


I think you want to create a animated images(series of images) do one thing play audio in background or on button click and for animated images try this:-

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];    
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜