optonaut / ActiveLabel.swift

UILabel drop-in replacement supporting Hashtags (#), Mentions (@) and URLs (http://) written in Swift
MIT License
4.47k stars 686 forks source link

using ActiveLabel in a cell row w/ touch recognizer #121

Closed juanjold closed 7 years ago

juanjold commented 7 years ago

I'm trying to use the label inside a cell in a UITableView. The cell already has a long-press touch recognizer to report inappropriate content and a touch-recognizer on the cell to open a person's profile. Can the active label be put inside a cell that already has touch recognizers capturing the tap? I've looked everywhere on here to but couldn't find anything! Thanks!!

polqf commented 7 years ago

Yo can have tap gestures on the cell. But all the taps inside the ActiveLabel frame will be captured by the label.