/ Published in: Objective C

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//header file #import <UIKit/UIKit.h> @interface HelloWorldIpadViewController : UIViewController { IBOutlet UIImageView *imageView; } @property (nonatomic, retain) IBOutlet UIImageView *imageView; -(IBAction) showPopup; @end //m file @synthesize imageView; - (void)viewDidLoad { [super viewDidLoad]; [UIImage imageNamed:@"IMG_0002.PNG"], [UIImage imageNamed:@"IMG_0003.PNG"], [UIImage imageNamed:@"IMG_0004.PNG"], nil]; imageView.animationDuration = 10; imageView.animationRepeatCount = 0; [imageView startAnimating]; }
Comments
