Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- NSHomeDirectory
- /var/mobile/Applications
- release
- Undefined symbols for architecture armv7s
- landscape
- 태그를 입력해 주세요.
- box2d
- storyboard
- Derived Data
- scale
- cocos2d-x
- Xcode
- Default-568h.png
- ccbi
- 멀티태스킹
- UIView
- xib
- Debug
- SBTarget
- CCLOG
- LLVM
- .svn
Archives
- Today
- Total
standwally
Motion event 본문
- (void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event NS_AVAILABLE_IOS(3_0);
- (void)motionEnded:(UIEventSubtype)motion withEvent:(UIEvent *)event NS_AVAILABLE_IOS(3_0);
iOS에서 위와 같은 Motion events를 사용하기 위해서는 아래 메서드들을 오버라이딩해야한다.
- (BOOL)canBecomeFirstResponder { return YES; } - (void)viewDidAppear:(BOOL)animated { [self becomeFirstResponder]; }