How to customize UILabel clickable
The most simple way is to just add a gesture recognizer to the actual view (be it a UILabel or some custom view of your own). In order for the gesture recognizer to work, the view must be set userInteractionEnabled. Here’s an example, assuming that your label view (or whatever it is) is called labelView: … Read more