


#import<QuartzCore/QuartzCore.h>......CALayer *myLayer=[CALayer layer];myLayer.frame=CGRectMake(0,0,width,height);myLayer.position=CGPointMake(30.0,67.0);myLayer.content=mylogo;[self.layer addSubLayer:myLayer];
//myLayer.position=nearBottomRight;[CATransaction setAnimationDuration:5];myLayer.position=nearBottomRight;

[layer addAnimation:animation];CABasicAnimation *move=[CABasicAnimation animationWithKeyPath:@"position.y"]; move.duration=3;move.toValue=[NSNumber numberWithFloat:300];[myLayer addAnimation:move forKey:@"moveimage"];
CGFloat yAtStart=myLayer.position.y; myLayer.position=CGPointMake(myLayer.position.x, 300);CABasicAnimation *move=[CABasicAnimation animationWithKeyPath:@"position.y"]; move.duration=3; move.fromValue=[NSNumber numberWithFloat:yAtStart]; move.toValue=[NSNumber numberWithFloat:300]; [myLayer addAnimation:move forKey:@"position"];