liebus
UIView 터치이벤트 본문
UIView에 터치이벤트
UIView는 UIResponder의 sub class이다 따라서 Responder의 터치관련 이벤트처리 메소드를
Overring 해서 처리 한다.
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { }
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' 카테고리의 다른 글
Xcode 4 Keyboard Shortcuts (0) | 2011.04.06 |
---|---|
Documents 에서 이미지 읽기 (0) | 2011.03.31 |
알림 창 - UIAlertView 만들기 (0) | 2011.03.28 |
NSDate를 NSString으로 또는 반대 경우 (0) | 2011.02.26 |
상위 view 의 Controller를 사용하고자 할때 (0) | 2011.02.22 |
Comments