Aspects


vs


Uibutton

UIButton is a subclass of UIView for displaying buttons in iOS

Uitapgesturerecognizer

UITapGestureRecognizer is a concrete subclass of UIGestureRecognizer that looks for single or multiple taps.

Others

Quality Example
More flexible

"The first thought is that you could build a uiview showing image and text then attach a uitapgesturerecognizer to it which would be more flexible than uibutton"

from question "UIButton different alignment for title and image"

Back to Home
Data comes from Stack Exchange with CC-BY-SA-3.0