Post not yet marked as solved
Post marked as unsolved with 2 replies, 1,536 views
Can't make onMove to work on iOS, it is just not triggered. Is this an iOS bug or I'm missing something? On the iPad is working like a charm.
List{
ForEach(names, id: \.self) {name in
Text(name)
}.onMove(perform: { indices, newOffset in
names.move(fromOffsets: indices, toOffset: newOffset)
})
}
Thanks!