//屏幕宽度
#define kWIDTH [UIScreen mainScreen].bounds.size.width
//屏幕高度
#define kHEIGHT [UIScreen mainScreen].bounds.size.height
- UIImageView*lunchImg=[[UIImageViewalloc]initWithFrame:CGRectMake(0,0,WIDTH,HEIGHT)];
- lunchImg.image=[UIImageimageNamed:@"lunch"];
- [[UIApplicationsharedApplication].keyWindowaddSubview:lunchImg];
- [UIViewanimateWithDuration:0.8animations:^{
- lunchImg.layer.transform=CATransform3DMakeScale(1.5,1.5,1);
- lunchImg.alpha=0.0;
- }completion:^(BOOLfinished){
- [lunchImgremoveFromSuperview];
- }];