SwiftUI drag from one list to another list
问题 I am trying to drag and drop between to Lists. What I have tried: I have found a solution doing it in UIKIt and the using UIViewControllerRepresentable. But that is not what i want. The other solution was using .onDrag {} on list, but that worked on iPad and didn't work on iPhone. How to move items between two Lists on iPhone? 回答1: check this out: BUT -> as you wrote, it works NOT with list (just on iPad), with VStack you can drag from left to right or right to left. import SwiftUI struct