UI 보기에 터치 이벤트를 추가하는 방법은 무엇입니까? UIView에 터치 이벤트를 추가하려면 어떻게 해야 합니까? UIView *headerView = [[[UIView alloc] initWithFrame:CGRectMake(0, 0, tableView.bounds.size.width, nextY)] autorelease]; [headerView addTarget:self action:@selector(myEvent:) forControlEvents:UIControlEventTouchDown]; // ERROR MESSAGE: UIView may not respond to '-addTarget:action:forControlEvents:' 하위 클래스를 만들고 덮어쓰지 않습니다. - (void)tou..