Don't use only UIButton. Proper way is:
1- Add an UIView then add UILabel and UIImageView on it. Add UITapGestureRecognizer. It would work same as you want.
2- Add UILabel on left side and UIImageView on right side then add a transparent UIButton which would cover both label and imageView. Th...
COOKING then CODE ..... then COOKING then CODE ..... then COOKING then CODE ..... then COOKING then CODE ..... then COOKING then CODE and so on ........ @iT. Your life is suit to your name. IT (Information Technology)