• 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
[iPhone] How to sense the duration of touch on iPhone button.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iPhone] How to sense the duration of touch on iPhone button.


  • Subject: [iPhone] How to sense the duration of touch on iPhone button.
  • From: Dan Ribe <email@hidden>
  • Date: Thu, 10 Sep 2009 18:05:45 +0530

Hi All,



I am trying to implement a phone pad for my application. For key with title
'0' I want the same behavior as the iPhone phone application :


1. If user touches, it should immediately display a 0.

2. If user holds down the button for some time, it should display a '+' (I
mean 0 should be replaced with a '+').



Can anyone help me with the second part of this? What kind of handling is
required for this. I mean how i can find out that user is holding that
button for sometime ?



Thanks for help !
_______________________________________________

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: [iPhone] How to sense the duration of touch on iPhone button.
      • From: Roland King <email@hidden>
  • Prev by Date: Re: Passing variables between .m files
  • Next by Date: Re: [iPhone] How to sense the duration of touch on iPhone button.
  • Previous by thread: Re: How can we draw a horizontal line with embossing effect?
  • Next by thread: Re: [iPhone] How to sense the duration of touch on iPhone button.
  • Index(es):
    • Date
    • Thread