liebus
UIView 터치이벤트
UIView에 터치이벤트 UIView는 UIResponder의 sub class이다 따라서 Responder의 터치관련 이벤트처리 메소드를 Overring 해서 처리 한다. -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { } -(void) touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event { } -(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event { } -(void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event { }
예전꺼(2014년이전꺼)/iOS
2011. 3. 28. 22:07