Postępowałem zgodnie z radą pod linkiem poniżej, aby dodać obrazy do komórek w widoku tabeli.Widok tabeli iOS Odśwież komórkę
Adding Image to Table Cell (iOS)
Czy istnieje sposób, aby wymusić odświeżenie komórka czyli dodawanie/usuwanie obrazów lub wskaźniki?
Próbowałem [self.tableview reloadData] oprócz tego, że nie wydaje się, aby przypomnieć metodę „- (UITableViewCell *) tableView: (UITableView *) tableView cellForRowAtIndexPath: (NSIndexPath *) indexPath "i dodaj obraz do nowych komórek. – user1120008
To robi. Masz błąd w swoim kodzie gdzieś indziej. –
Umieść NSLog (@ "Metoda nazwana"); w twoim '- (UITableViewCell *) tableView: (UITableView *) tableView cellForRowAtIndexPath: (NSIndexPath *) indexPath' jeśli chcesz udowodnić to samemu. –