NSArray *ary=[[NSArray alloc]initWithObjects:[UIImage imageNamed:@"yy1"],[UIImage imageNamed:@"yy2"],[UIImage imageNamed:@"yy3"], nil];
UIImageView *im=[UIImageView alloc]initWithFrame:CGRectMake(115, 0, 100, 35)];
im.animationImages=ary;
im.animationDuration=0.7;
[im startAnimating];
[self.view addSubview: im];