UIView 添加点击事件
UITapGestureRecognizer *singleTap =[[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(onClickTopView)];
[_topView addGestureRecognizer:singleTap];
UIView 添加点击事件
UITapGestureRecognizer *singleTap =[[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(onClickTopView)];
[_topView addGestureRecognizer:singleTap];