Enable dragging for only one uitableviewcell

By : Bellots
Source: Stackoverflow.com
Question!

I've got a UITableViewController which has a custom UITableViewCell. This cell has got a UIScrollView, and on dragging it shows hidden buttons.

Everything works perfectly, it also disables UITableView scroll while dragging, unfortunately I can't disable multi-dragging (if I use 2 or more fingers on more cells it drags all these cells).

By : Bellots


Answers

I solved by assigning a tag to every scroll view and adding 2 functions which:

1 function: disable scrolling of every scroll with an id different from the one which is scrolling.

Code:

  func disableScrolling(tag:Int){
        for var i = 0; i 
By : Bellots


This video can help you solving your question :)
By: admin