나는 3 셀이있는 tableView 있습니다.TableView 프로토콜 바깥 쪽 UITableViewCell.detailTextLabel 변경
tableView로드 된 후 그 셀의 .detailTextLabel을 변경하고 싶습니다.
어떻게 할 수 있습니까?
있는 UITableViewCell firstCell * = [있는 tableView cellForRowAtIndexPath : 0]
난이 아드;firstCell.detailTextLabel.text = @ "ABC";
[tableView reloadData];
그러나 이것은 아무 것도하지 않습니다. 무슨 문제 야? reloadData를 호출하는
UITableViewCell *firstCell = [tableView cellForRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0]];
firstCell.detailTextLabel.text = @"ABC";
필요 :
이 작동하지 않습니다. 아무것도 변경되지 않았습니다. – theShay