lab*_*b12 20 iphone uitableview
我想知道如何获取textLabel所选的字符串值uitableviewcell.
Tho*_*son 50
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
// now you can use cell.textLabel.text
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
23724 次 |
| 最近记录: |