Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Hide the report detail popover on rotation.

  • Loading branch information...
commit 882beeef2e9afd074b910e52b4ee4e9600e0c2ed 1 parent 9f443e6
Ole Zorn authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  Classes/SalesViewController.m
View
3  Classes/SalesViewController.m
@@ -177,6 +177,9 @@ - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interface
- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration
{
+ if (self.selectedReportPopover.popoverVisible) {
+ [self.selectedReportPopover dismissPopoverAnimated:YES];
+ }
if (UIInterfaceOrientationIsLandscape(toInterfaceOrientation)) {
self.graphView.frame = self.view.bounds;
self.topView.frame = self.view.bounds;

0 comments on commit 882beee

Please sign in to comment.
Something went wrong with that request. Please try again.