Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 02-07-2010, 04:04 PM   #15 (permalink)
harrytheshark
Registered Member
 
Join Date: Dec 2008
Location: UK
Posts: 1,896
harrytheshark is on a distinguished road
Default

Check the coordinates in the touchesMoved event.

Code:
//Taken from what you posted
UITouch *touch = [[event allTouches] anyObject];
CGPoint location = [touch locationInView:touch.view];
"location" has the coordinates of the touch, and if you're unsure of how to get the coordinates for "one", the documentation should have everything you need.
harrytheshark is offline   Reply With Quote
 

» Advertisements
» Online Users: 474
7 members and 467 guests
Domele, GHuebner, iekei, Newbie123, nguyenhieu129, RockBaby, scubadivingfool
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,446
Threads: 94,031
Posts: 402,605
Top Poster: BrianSlick (7,978)
Welcome to our newest member, larueta13
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:43 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.