Skip to content

targetIndexPathForMoveFromRowAt is not getting called #3

Description

@testproject1234
func tableView(_ tableView: UITableView, targetIndexPathForMoveFromRowAt sourceIndexPath: IndexPath, toProposedIndexPath proposedDestinationIndexPath: IndexPath) -> IndexPath {
if sourceIndexPath != proposedDestinationIndexPath {
return sourceIndexPath
}
return proposedDestinationIndexPath
}

I want to avoid reorder the section of rows to new section. But this delegate is not getting called

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions