iOS 启动页放大淡出效果
//屏幕宽度
#define kWIDTH [UIScreen mainScreen].bounds.size.width
//屏幕高度
#define kHEIGHT [UIScreen mainScreen].bounds.size.height
- UIImageView * lunchImg=[[UIImageView alloc]initWithFrame:CGRectMake(0, 0, WIDTH, HEIGHT)];
- lunchImg.image=[UIImage imageNamed:@"lunch"];
- [[UIApplication sharedApplication].keyWindow addSubview:lunchImg];
- [UIView animateWithDuration:0.8 animations:^{
- lunchImg.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1);
- lunchImg.alpha=0.0;
- } completion:^(BOOL finished) {
- [lunchImg removeFromSuperview];
- }];
人这一辈子没法做太多的事情,
所以每一件都要做得精彩绝伦。
你的时间有限,
所以不要为别人而活。
不要被教条所限,
不要活在别人的观念里。
不要让别人的意见左右自己内心的声音。
最重要的是,
勇敢的去追随自己的心灵和直觉,
只有自己的心灵和直觉才知道你自己的真实想法,
其他一切都是次要。
工作是生活的一部分,所以工作不能全部占用于生活。