开发者

iphone - a reference to a cell

开发者 https://www.devze.com 2023-02-01 10:14 出处:网络
I am inside - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {

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

精彩评论

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