Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Setting SelectionStyleNone currently breaks rotation #120

wants to merge 1 commit into from

1 participant


To reproduce set line 240 of ImageDemoViewController to

plainCell.selectionStyle = AQGridViewCellSelectionStyleNone;

Then rotate from landscape to portrait orientation.

I have found a fix that seems to work just fine (making selectionStyleNone work int the same way as the default and not breaking rotation), but maybe there is a more proper way of doing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  Classes/AQGridViewCell.m
2  Classes/AQGridViewCell.m
@@ -437,7 +437,7 @@ - (void) setHighlighted: (BOOL) value animated: (BOOL) animated
if ( _cellFlags.selectionStyle == AQGridViewCellSelectionStyleNone )
_cellFlags.highlighted = (value ? 1 : 0);
- return;
+ //return;
_cellFlags.becomingHighlighted = (value ? 1 : 0);
Something went wrong with that request. Please try again.