You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using registerNib:forHeaderFooterViewReuseIdentifier to reuse header views the tableview can actually reuse previously created header views. This means that the reused view already has an UITapGestureRecognizer set and the tag for the view is not updated to the new section the view is dequeued for. In handleTapGesture: the tag for the header view is then used to determine which section to open/close.
The text was updated successfully, but these errors were encountered:
When using registerNib:forHeaderFooterViewReuseIdentifier to reuse header views the tableview can actually reuse previously created header views. This means that the reused view already has an UITapGestureRecognizer set and the tag for the view is not updated to the new section the view is dequeued for. In handleTapGesture: the tag for the header view is then used to determine which section to open/close.
The text was updated successfully, but these errors were encountered: