IPhone App Dev
2011년 8월 16일 화요일
[IPhone Dev] Get point from touch
Getting location for touch!
Get the position!
-(
void
)ccTouchesEnded:(
NSSet
*)touches withEvent:(
UIEvent
*)event{
UITouch
*touch = [touches
anyObject
];
CGPoint
location = [touch
locationInView
:touch.
view
];
}
Mayday Timeattack - Free on Appstore
댓글 없음:
댓글 쓰기
최근 게시물
이전 게시물
홈
피드 구독하기:
댓글 (Atom)
댓글 없음:
댓글 쓰기