开发者

iphone - a reference to a cell

I am inside

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {

At 开发者_如何学Pythonthis point I have de indexPath and the tableView. How do I get a reference to the UICell object the indexPath represents?

thanks.


UITableViewCell* cell = [tableView cellForRowAtIndexPath:indexPath];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜