iOS 监听UILabel点击

 label.userInteractionEnabled = YES; // 一定要设置
 [label addGestureRecognizer:[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(labelClick:)]];

- (void)labelClick:(UITapGestureRecognizer *)tap{

    NSLog(@"%@",tap.view);

}

 
原文地址:https://www.cnblogs.com/xsphehe/p/6397636.html