How to enable UIDragInteraction on Custom UIViews for iPhone
问题 I've been trying to use Apple's new API to enable Drag interactions on Custom UIViews. I've managed to make it work when testing using iPad, but when I run the same app in my iPhone 7 - ios 11 beta 3, I'm not able to drag my custom UIViews. I've noticed that we need to enable drag interaction when using in UICollectionView and UITableViews collectionView.dragInteractionEnabled = true tableView.dragInteractionEnabled = true but I can't manage to find anything in the documentation or anywhere