UIImageView *imgView =[[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 0, 460)]; [imgView setImage:[UIImage imageNamed:@"pagethr.png"]]; self.imageViews = imgView; [self.view addSubview:imageViews]; [imgView release]; CGContextRef context = UIGraphicsGetCurrentContext(); [UIView beginAnimations:nil context:nil]; [UIView setAnimationCurve:UIViewAnimationCurveLinear]; [UIView setAnimationDuration:0.75]; [imageViews setFrame:CGRectMake(0, 0, 320, 460)]; [UIView commitAnimations];