2012-03-27 23 views

Trả lời

0

Tôi nghĩ rằng không thể thao tác tốc độ hoạt ảnh.

Có thể bạn có thể sử dụng scrollToRowAtIndesPath để thay thế.

-3

Hoàn toàn chưa được kiểm tra, nhưng bạn có thể thử điều này cho một phim hoạt hình năm giây:

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

Override các insertRowsAtIndexPaths và thêm hình ảnh động tùy chỉnh theo ý muốn với sự chậm trễ.

- (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]; 
} 
} 
Các vấn đề liên quan