关于一些点击事件
UIImageView响应点击事件
给View添加点击事件
UIView *view = [[UIControl alloc]init];
view.backgroundColor = [UIColor redColor];
[(UIControl *)view addTarget:self action:@selector(touchpicture:) forControlEvents:UIControlEventTouchUpInside];
[view setFrame:CGRectMake(0, 0, 320, 480)];
[self.view addSubview:view];

浙公网安备 33010602011771号