2
如何訪問(改變imageView.image)我的UITableView的下一個單元中給出的下一個單元格:目標C:我已經有訪問一個UITableView
UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
如何訪問(改變imageView.image)我的UITableView的下一個單元中給出的下一個單元格:目標C:我已經有訪問一個UITableView
UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
NSIndexPath *newPath = [NSIndexPath indexPathForRow:indexPath.row+1 inSection:indexPath.section];
UITableViewCell *nextCell = [tableView cellForRowAtIndexPath: newPath];
不應該那是cellForRowAtIndexPath:newPath? – 2010-09-01 17:13:55
是的,它應該 – wierddemon 2010-09-01 18:23:18
Rigth thx,修復它。 – 2010-09-02 16:00:14