UIImage *img1=[UIImage imageNamed:@"1.JPG"];
UIImage *img2=[UIImage imageNamed:@"2.JPG"];
UIImage *img3=[UIImage imageNamed:@"3.JPG"];
_imgview.animationImages=[NSArray arrayWithObjects:img1,img2,img3,img2, nil];
_imgview.animationDuration=0.6;
[_imgview startAnimating];//動畫開始
//停止[_imgview stopAnimating];