标签: iphone objective-c uilabel
我在UITableViewCell中有一些UILabel。我的目的是在触摸特定的UILabel时调用一个函数。请给我一个思路。感谢。
答案 0 :(得分:1)
UILabel是UIResponder的子类。您可以覆盖以下方法来处理触摸。
– touchesBegan:withEvent: – touchesMoved:withEvent: – touchesEnded:withEvent: – touchesCancelled:withEvent: