There was a need to disable any possible actions with the tableView of the type button.isEnabled = false

    1 answer 1

     tableView.userInteractionEnabled = false 

    You can also select a table in the storyboard and tick and uncheck User Interaction Enabled

    • Thank! What you need! - Igor Ivanov
    • @IgorIvanov if the answer helped, put a tick. :) - Vitali Eller