Estoy tratando de cambiar la vista de un accesorio UITableViewCell cuando se selecciona su fila, tengo el siguiente código:Cambio UITableView accessoryView en la línea de selección de
- (void)tableView:(UITableView *)aTableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
UITableViewCell* cell = [self tableView:aTableView cellForRowAtIndexPath:indexPath];
UIActivityIndicatorView *activityView = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhite];
[activityView startAnimating];
cell.accessoryView = activityView;
[activityView release];
}
Pero esto no está funcionando. ¿Algunas ideas?
y por cierto no lo hace usted se olvide no puede ver indicador de actividad blanco si fondo es blanco también ^) – Sergnsk
que explica por qué traté de figura por qué se eliminó el indicador de actividad después de seleccionar otra celda. –