Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

cinek

macrumors 6502
Original poster
Mar 12, 2011
374
0
how can I combine multiple jpg images to 1 gif in xcode? I can't find any info about this ;/
 
thanks, but how can I make it change/animate between the images? so that it shows 1 image for a few seconds, then the next image etc
 
That's more like making a slideshow. not really showing just a gif.

The gif ->

Code:
  // create the view that will execute our animation
    /*
    UIImageView* loadingScreen = [[UIImageView alloc] initWithFrame:self.window.frame];
    
    // load all the frames of our animation
    loadingScreen.animationImages = [NSArray arrayWithObjects:    
                                    [UIImage imageNamed:@"C64-1.png"],
                                    [UIImage imageNamed:@"C64-2.png"],nil];
    
    // all frames will execute in 1.75 seconds
    loadingScreen.animationDuration = 1.75;
    // repeat the annimation forever
    loadingScreen.animationRepeatCount = 3;
    
    // start animating
    [loadingScreen startAnimating];
    // add the animation view to the main window 
    [self.window addSubview:loadingScreen];
    */

About the slideshow thing, well that's a bit too much to just post.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.