2012-03-27 13 views

Respuesta

0

Creo que no es posible manipular la velocidad de la animación.

Quizás pueda usar scrollToRowAtIndesPath en su lugar.

-3

Absolutamente no probado, pero se podría intentar esto para una animación y cinco segundos:

[UIView animateWithDuration:5. animations:^(void){ 
    [_tableView insertRowsAtIndexPath:... animated:NO]; 
}]; 
0

anular el insertRowsAtIndexPaths y añadir animación personalizada a su gusto con retraso.

- (void)insertRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation: (UITableViewRowAnimation)animation 

{ 

for (NSIndexPath *indexPath in indexPaths) 
{ 
    UITableViewCell *cell = [self cellForRowAtIndexPath:indexPath]; 

    [cell setFrame:CGRectMake(320, cell.frame.origin.y, cell.frame.size.width, cell.frame.size.height)]; 

    [UIView beginAnimations:NULL context:nil]; 
    [UIView setAnimationDuration:1]; 
    [cell setFrame:CGRectMake(0, cell.frame.origin.y, cell.frame.size.width, cell.frame.size.height)]; 
    [UIView commitAnimations]; 
} 
} 
Cuestiones relacionadas