On iOS, a UIButton can use addTarget to specify a method to call when the button is tapped on, but what about UILabel, is there something similar, or is the only option using UITapGestureRecognizer?
On iOS, a UIButton can use addTarget to specify a method to call when
Share
addTarget:action:forControlEvents:is a method of UIControl class.UIButton is a subclass of UIControl but not UILabel. So yes a tap gesture is the better way.