首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

一段不错的反照代码用来写tableView配置界面选中

2013-08-10 
一段不错的反射代码用来写tableView配置界面选中- (void)tableView:(UITableView *)tableView didSelectRo

一段不错的反射代码用来写tableView配置界面选中
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
    Class clazz = NSClassFromString([items_ objectAtIndex:indexPath.row]);
    id viewController = [[clazz alloc] init];
    if (viewController) {
        [self.navigationController pushViewController:viewController animated:YES];
    }
}

热点排行