UIView添加事件

  UIView *loadView = [[UIControl alloc]initWithFrame:CGRectMake(0,0,320,480)];
  loadView.backgroundColor = [UIColor clearColor];
   [(UIControl *)loadView addTarget:self action:@selector(removeLoadView1)forControlEvents:UIControlEventTouchUpInside];

 

posted @ 2014-01-15 13:39  huluo666  阅读(96)  评论(0编辑  收藏  举报