I have a tableView full of images. When a user taps on an image (within the cell), a viewController with a larger zoomable version of the image is called with a popover segue. When i dismiss the popover and return to my tableView, it automatically displays the top cell of the table. Is there any way to stop this happening, and return to the previous position/cell before the popover was called?
EDIT: To call the popover i use
performSegueWithIdentifier("segueToPopOver", sender: tap.view)
to dismiss it i use the following:
let tmpController :UIViewController! = self.presentingViewController;
self.dismissViewControllerAnimated(true, completion: {()->Void in
tmpController.dismissViewControllerAnimated(true, completion: nil);
});