Which is the correct way to zoom an image in a UIScrollView with many images?
In depth, i have a contentView (UIView) with all the UIImageView(s) as subviews.
I'm trying to return the current showed UIImageView in viewForZoomingInScrollView: but this doesn't work :-(
func viewForZoomingInScrollView(scrollView: UIScrollView) -> UIView? {
return imageViews[self.currentIndex]
}