UIImageView如果添加UIButton不会被响应,需要给UIImageView打开用户触控的响应

 

 
  1. [yourImageView setUserInteractionEnabled:YES];