2
如果我在tableview中每次點擊兩個不同的單元格,然後didSelectRowAtIndexPath調用兩次。但是我想禁用這個。我試着用self.restaurantTableView.allowsMultipleSelection = NO ;.它不適合我。我試着用self.view.userInteractionEnabled = NO;但在細節行動中,我需要推動另一種觀點。所以我需要使self.view.userInteractionEnabled = yes;推後。這兩個場合,這個觀點已經推了兩倍。那麼在這種情況下我該怎麼做?誰能幫幫我嗎?禁用多選單元格iOS中的tableview