jasonnoahchoi/blocstagram — pull request #16 by jasonnoahchoi (2014-12-21 11:17:51+00:00)
Title: Added popover for longpressedview

I'm not sure if these lines of code is correct; nonetheless, I have a nice popover when you long press on the pictures from the iPad.
```
- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration {
self.cameraPopover = [[UIPopoverController alloc] init];
if (isPhone) {
[self dismissViewControllerAnimated:YES completion:nil];
} else {
[self.cameraPopover dismissPopoverAnimated:YES];
self.cameraPopover.popoverLayoutMargins = UIEdgeInsetsMake(0, 0, 0, 0);
self.cameraPopover = nil;
}
```