问题描述:
在我的应用里,给UIView添加了一个UIImageview,然后给UIImageView添加了一个UIButton,但是触摸屏幕后,按钮也没反映,action selector也没有调用。
UIView
UIImageview
UIImageView
UIButton
把button 加在uiview上面或者把uiimageview.userInteractionEnabled = YES.即可,试试吧,