Custom UITableViewCell not calling prepareForSegue

前端 未结 4 974
刺人心
刺人心 2021-02-14 00:00

I have a custom UITableViewCell, called EventCell.

EventCell.h

#import 

@interface EventCell : UITabl         


        
4条回答
  •  抹茶落季
    2021-02-14 00:12

    You need to implement

    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    
    
    
    [self performSegueWithIdentifier:@"YourSegueIdentifier" sender:nil];
    
    
    }
    

提交回复
热议问题