KKGridView
KKGridView copied to clipboard
Cell located underneath a Section Header View is still able to be touched.
I have custom views for my Section Headers, and when a cell is partially scrolled underneath it, tapping a Section Header for my custom navigation will tap the cell instead. Almost as though the touch is going through the Header View. Any way for me to edit files to stop this from occurring?
enable userInteraction on the header views probably
Is there a specific file of KKGV that I have to edit to allow this? Because, I have a UIButton on the left side that gets disabled if I turn off userInteractionEnabled. It seems to be even though I tap on the Button or Header UIView itself, the Cell underneath it still gets selected even though it's under the header view.
I think it has to do with viewableItems method inside the Source Code, it doesn't take into effect intersecting the rect of a Section Header.
That's because it may still need to show them if there's a transparent header.
Sent from my iPhone
On Dec 1, 2012, at 19:19, cocotutch [email protected] wrote:
I think it has to do with viewableItems method inside the Source Code, it doesn't take into effect intersecting the rect of a Section Header.
— Reply to this email directly or view it on GitHub.
Is there any way to stop it still recognizing the taps if I'm tapping inside the header?
I'm sure if I edited a touch selection method or something I could get this to work. Seriously is there anything I can do?
I'll look when I get home.
Sent from my iPhone
On Dec 1, 2012, at 19:47, cocotutch [email protected] wrote:
I'm sure if I edited a touch selection method or something I could get this to work. Seriously is there anything I can do?
— Reply to this email directly or view it on GitHub.
How did you go?