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  嘟嘟夜未央  阅读(155)  评论(0编辑  收藏  举报