开发者

Swipe left/right event on ViewController and UITextView over it

I have a 开发者_StackOverflowViewController on which there is a UITextView. On swipe let/right i want to refil UITextView with some other text. Touch Events are attached on ViewController. Problem is to pass touch events to ViewController i need to setUserInteractionEnabled to NO. but i set it to No then my UITextView does not scroll content.

What shld i do?


Check this blog post here : http://mithin.in/2009/08/26/detecting-taps-and-events-on-uiwebview-the-right-way/

It's for UIWebView but should work right for you.


What about UIGestureRecognizer

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜