0
scrollview 내부에 imageview가 포함 된 이미지 맵을 만들었습니다. 특정 부분을 터치하면 내 특정 이미지 부분에 텍스트를 그려야합니다.이미지지도에 텍스트 쓰기 또는 그려주기
해당 라이브러리가 있습니까?
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
{
UITouch *aTouch = [touches anyObject];
CGPoint point = [aTouch locationInView:self];
CGFloat xPos = point.x;
CGFloat yPos = point.y;
}
를 그리고이 정보를 사용하여 매개 변수로 x와 y를 취하는 방법을합니다