need help about the touch event
need help about the touch event
- Subject: need help about the touch event
- From: Gill Bates <email@hidden>
- Date: Tue, 25 Aug 2009 00:42:10 +0200
Hi All,
currently we have three kinds of touch event:
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{ NSLog(@"touchesBegan"); }
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
{ NSLog(@"touchesMoved"); }
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
{ NSLog(@"touchesEnded"); }
what if I want to detect the time once user pressed at a specific icon.
In particular, I want to implement some feature like iphone on the
homescreen, when the user pressed an icon for 2 seconds, the system
would show something.
So anyone has an idea for this?
thx in advance.
Ramon.Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden