imageview默认是不响应事件的 ,所以即使在上边加上个button也不会响应
解决办法是:将这个imageview.userInterfaceEnabled = YES; 手动设成YES,再次运行,OK!!!
imageView.userInteractionEnabled = YES;
imageview默认是不响应事件的 ,所以即使在上边加上个button也不会响应
解决办法是:将这个imageview.userInterfaceEnabled = YES; 手动设成YES,再次运行,OK!!!
imageView.userInteractionEnabled = YES;