? Con el siguiente código obtengo el text.label pero no el detailTextLabel.text. El NSLog se muestra correctamente.cell.detailTextLabel.text no funciona ... ¿por qué
cell.textLabel.text = [eventLabels objectAtIndex:indexPath.row];
cell.detailTextLabel.text = [eventFields objectAtIndex:indexPath.row]];
NSLog(@"%@", [eventFields objectAtIndex:indexPath.row]);
También probé ...
cell.detailTextLabel.text = [NSString stringWithFormat:@"%@", [eventFields objectAtIndex:indexPath.row]];
No he tenido problemas con esto antes. ¿Alguna sugerencia?
John
Eso fue todo !!!! Estaba usando pero UITableViewCellStyleDefault. Creo que usé lo que se proporcionó cuando creé la clase sin pensarlo. Muchas gracias. John – user278859
usuario278859: si John ha respondido a su pregunta, entonces acepte su respuesta. ¿Cuál es el uso si no acepta incluso las respuestas correctas? –
funciona como magic –