diff --git a/ImageViewer/ViewController.swift b/ImageViewer/ViewController.swift index da8016b..2bb2d64 100644 --- a/ImageViewer/ViewController.swift +++ b/ImageViewer/ViewController.swift @@ -662,6 +662,7 @@ class ViewController: UIViewController, UIGestureRecognizerDelegate { var offset = scrollingCollectionView.contentOffset offset.y *= (screenSize.width / screenSize.height) scrollingCollectionView.setContentOffset(offset, animated: false) + scrollingCollectionView.reloadData() } }