Tap on section (Height 400.0f) Viewing Calls UITableview didSelectRowAtIndexPath

advertisements

I have UITableview with a section whose height is 400 and when I scroll down and tap on section View then it calls didSelectionRowAtIndexPath. So how can I detect/identify that it is section view?


Simply you can add UIButton or UITapGestureRecognizer on section view and create your own listener method. then didSelectRowAtIndexPath method not called