//启动页初始页面动画
UIImageView*imageView = [[UIImageViewalloc]initWithFrame:[[UIScreenmainScreen]bounds]];
imageView.image= [UIImageimageNamed:@"01"];
[self.viewaddSubview:imageView];
UIImage*image1 = [UIImageimageNamed:@"01"];
UIImage*image2 = [UIImageimageNamed:@"02"];
[imageViewsetAnimationImages:@[image1,image2]];
[imageViewsetAnimationDuration:1];
[imageViewsetAnimationRepeatCount:1];
[imageViewstartAnimating];
[selfperformSelector:@selector(delay)withObject:selfafterDelay:2];
[imageViewrelease];
}
- (void)delay
{
[MenuADOcreateMyOrderTable];
HomeViewController*vc = [[HomeViewControlleralloc]init];
[ChangeViewToolchangeViewController:vc];
[vcrelease];
}