• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
need help about the touch event
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: need help about the touch event
      • From: Randall Meadows <email@hidden>
  • Prev by Date: undo and NSTextField
  • Next by Date: Re: Syntax Coloring?
  • Previous by thread: undo and NSTextField
  • Next by thread: Re: need help about the touch event
  • Index(es):
    • Date
    • Thread