2012年7月13日

UIImageView添加响应事件无响应

摘要: 通常给UIImageView添加响应按如下方法:UIImageView *newView = [[UIImageView alloc]initWithFrame:CGRectMake(x, y, IMG_WIDTH, IMG_HEIGHT)]; newView.userInteractionEnabled = YES; newView.tag = i; UITapGestureRecognizer *singleTap = [[UITapGestureRecognizer alloc] initWithTarget:self ... 阅读全文

posted @ 2012-07-13 11:19 cokecoffe 阅读(1127) 评论(0) 推荐(0)

导航