LoginSignup
13
9

More than 5 years have passed since last update.

tableView didSelectRowAtIndexPathが呼ばれない

Posted at

-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath が呼ばれなくて数日間ハマりました。

numberOfRowsInSectionでゼロを返すと呼ばれないとかは経験済みだったのでそのへんは確認して散々悩んだ挙句。

storyBoardでTableViewのSelectionを確認したところ、「No Selection」と、なってました。
「Single Selection」に変更して解決。

13
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
13
9