UIImageView的userInteractionEnabled默认为no。 所以添加上去的按钮都无法响应点击。 解决方法:UIImageView的userInteractionEnabled设置为yes