AQGridView icon indicating copy to clipboard operation
AQGridView copied to clipboard

Orientation change in ExpanderDemo

Open Quamber opened this issue 12 years ago • 0 comments

I just started checking AQGridView and new to iOS too in the source example ExpanderDemo the orientation is working fine for the first View but as i click any cell and next upcomming AQGridView does not effect View on GridView.

ExpandingGridViewController *controller = [[ExpandingGridViewController alloc] init]; controller.gridView.frame = self.gridView.frame; [self.gridView setHidden:YES]; [self.view.superview addSubview: controller.gridView]; [controller expandCellsFromRect: expandFromRect ofView: cell]; [controller viewDidAppear: NO];

On the other hand if i present the view controller to second it works fine with the orientation but losses the Animation for Expansion; which i don't want to loose. What should i do?

ExpandingGridViewController *controller = [[ExpandingGridViewController alloc] init]; [self presentViewController:controller animated:NO completion:nil];

Quamber avatar Jun 19 '13 06:06 Quamber