开发者

pass vertical scroll event from uibutton to tableviewcell

I placed a uibutton inside of a tablecell. When i try to scroll up and down through the table, the table does not scroll if i place my fing开发者_StackOverflow中文版er on the button and scroll from there. How do I pass the scroll event up the responder chain so that the tableview can handle the scrolling?


This is very deliberate behavior in the frameworks. UIScrollView explicitly avoids taking over touch events that begin on a button. Is there any particular reason you want this to happen?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜