How to use touch method for views with gesture recognizers?

3 views
Skip to first unread message

Dark Wizard

unread,
Apr 13, 2011, 2:34:51 PM4/13/11
to ObjectiveResource
Hi,

I am new to UISpec and discovering it now. I came to know that 'touch'
method sends touchesbegan and touchesended events to views. So, it
means that the views have to implement touchesbegan and touchesended
methods in viewcontrollers to handle touch.

But, in our application, we are using gesture recognizers(like
UITapGestureRecognizer etc) to handle tap in viewcontrollers. How can
i automate the touch events for these views in UISpec? Can i extend
the existing touch method somehow?

Thanks in advance.
Reply all
Reply to author
Forward
0 new messages