On Apr 1, 2011, at 1:29 AM, Rikza Azriyan wrote: > Anyone could help me,, > I want to handle touch drag event programatically, for example in ibooks > reader, we use fingertips for navigating to next/prev page by sliding the > screen to the left/right direction. > I want to handle this event within my code, such as give the first cordinate > in A(180,45) and the last cordinate A'(90,188), means i do slide on sceen > from A to A'. > Anyone can help me how to do it? > > Thanks in Advance > > Rikza Azriyan > Student of Sriwijaya University > Palembang, Indonesia
You can use a UIGestureRecognizer for this, and it's very easy. WT_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com