I have a scroll view, which has an image view with an image as a subview, and the image view has a UIButton as one of its subviews. The problem is, I am not abl
UIButton
UIImageView has userInteractionEnabled set to NO/ false by default.
UIImageView
userInteractionEnabled
NO
false
You are adding the button as a subview to the image view. You should set it to YES / true.
YES
true