Skip to content

targetIndexPathForMoveFromRowAt is not getting called #3

@testproject1234

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

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