Sometimes, you'll have a UIButton
(or a UIControl
subclass) that doesn't trigger its action.
A quick tip! Check its frame and userInteractionEnabled
property. If it looks good, check the parent's. Chances are one of them is either too small or userInteractionEnabled
is set to NO.
.
.