UITableViewCell怎么push 到一个viewcontroller

2025-05-09 08:14:03
推荐回答(1个)
回答1:

CustomCell里面加个变量 id rootController;将这个rootController初始化为这个cell的tableview所在的那个对象,即 - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ CustomCell *ce...