UIScrollview delaysContentTouches issue

前端 未结 6 2112
無奈伤痛
無奈伤痛 2020-12-13 10:33

I have UIScrollView loaded with UIButtons and on UIButton action I have highlighted UIImage of each UIButton

6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-13 10:52

    I had same issue & same hierarchy of the views, With latest sdk , just use it :

    Setting delaysContentTouches to NO for UIButton in the same UITableViewCell.

    self.scrollview.delaysContentTouches = NO
    

提交回复
热议问题