让一个UIImageView响应点击事件
摘要:
UIImageView *imgView =[[UIImageView alloc] initWithFrame:CGRectMake(0, 0,320, 44)];imgView.userInteractionEnabled=YES;UITapGestureRecognizer *singleTap =[[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(onClickImage)];[imgView addGestureR... 阅读全文
posted @ 2012-05-25 09:32 黯夜曦 阅读(153) 评论(0) 推荐(0)
浙公网安备 33010602011771号