1 [CATransaction begin]; 2 [CATransaction setAnimationDuration:2]; 3 self.layer.zPosition = 3; 4 self.layer.bounds = CGRectMake(0, 0, 100, 100); 5 [CATransaction commit];