Skip to content
Browse files

Fixing crash in Demo when rotating while the photoview popover was op…

…en. Adding .gitignore to remove user-specific project directories.
  • Loading branch information...
1 parent 10d2086 commit 38a07e89feee0edcbed7f8f34665c96a198b76bd @crumpf crumpf committed Apr 11, 2011
Showing with 3 additions and 1 deletion.
  1. +2 −0 Demo/.gitignore
  2. +1 −1 Demo/Classes/DetailViewController.m
View
2 Demo/.gitignore
@@ -0,0 +1,2 @@
+EGOPhotoViewer_Demo.xcodeproj/project.xcworkspace/
+EGOPhotoViewer_Demo.xcodeproj/xcuserdata/
View
2 Demo/Classes/DetailViewController.m
@@ -123,7 +123,7 @@ - (void)showPhotoView:(UIBarButtonItem*)sender{
UIPopoverController *popover = [[UIPopoverController alloc] initWithContentViewController:navController];
popover.delegate = self;
[popover presentPopoverFromBarButtonItem:sender permittedArrowDirections:UIPopoverArrowDirectionUp animated:YES];
- popoverController = popover;
+ self.popoverController = popover;
[photoController release];
[navController release];

0 comments on commit 38a07e8

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