Revision: 43641
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 28, 2011 20:15 by magickaito
Initial Code
// .h #import <UIKit/UIKit.h> @interface SimpleViewController : UIViewController { IBOutlet UIImageView *imageView; } @property (nonatomic, retain) IBOutlet UIImageView *imageView; @end // .m #import "SimpleViewController.h" @implementation SimpleViewController @synthesize imageView; // Implement viewDidLoad to do additional setup after loading the view, typically from a nib. - (void)viewDidLoad { [super viewDidLoad]; UIImage *image1 = [UIImage imageNamed:@"WELCOME.PNG"]; UIImage *image2 = [UIImage imageNamed:@"SLIDER.PNG"]; NSArray *images = [[NSArray alloc] initWithObjects:image1,image2,nil]; imageView.animationImages = images; imageView.animationDuration = 10; imageView.animationRepeatCount = 0; [imageView startAnimating]; }
Initial URL
Initial Description
Initial Title
Objective C Image Slideshow (longer edition)
Initial Tags
Initial Language
Objective C