From ab5030d93e0cf7a97bc3ea9edafa1cb2d3fffe51 Mon Sep 17 00:00:00 2001 From: nixzhu Date: Fri, 9 Oct 2015 13:34:37 +0800 Subject: [PATCH] mediaCollectionView.scrollsToTop = false (otherwise it will broke feedsTableView's scrollsToTop) --- Yep/Views/Cells/Feed/FeedCell.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Yep/Views/Cells/Feed/FeedCell.swift b/Yep/Views/Cells/Feed/FeedCell.swift index 7dd900aa..36997780 100644 --- a/Yep/Views/Cells/Feed/FeedCell.swift +++ b/Yep/Views/Cells/Feed/FeedCell.swift @@ -61,6 +61,7 @@ class FeedCell: UITableViewCell { messageLabel.font = UIFont.feedMessageFont() + mediaCollectionView.scrollsToTop = false mediaCollectionView.contentInset = UIEdgeInsets(top: 0, left: 15 + 40 + 10, bottom: 0, right: 15) mediaCollectionView.showsHorizontalScrollIndicator = false mediaCollectionView.backgroundColor = UIColor.clearColor()