UIView添加事件

  UIView *loadView = [[UIControl alloc]initWithFrame:CGRectMake(0,0,320,480)];
  loadView.backgroundColor = [UIColor clearColor];
   [(UIControl *)loadView addTarget:self action:@selector(removeLoadView1)forControlEvents:UIControlEventTouchUpInside];
原文地址:https://www.cnblogs.com/hl666/p/3655284.html