Play a video using an array of images in iPhone Objective C
When you want to play a video using an array of images in iPhone,
you need to run the array of images in a loop and assign the images to the UIImageView.
UIImageView *imageView = [[UIImageView alloc] initWithFrame:frame];
for (int i = 0; i < [array count]; i++)
{
imageView.image = (UIImage *) [array objectAtIndex: i];
}
you need to run the array of images in a loop and assign the images to the UIImageView.
UIImageView *imageView = [[UIImageView alloc] initWithFrame:frame];
for (int i = 0; i < [array count]; i++)
{
imageView.image = (UIImage *) [array objectAtIndex: i];
}
Comments
Post a Comment