Browse Source

Media collectionView NO bounces

marinofaggiana 3 năm trước cách đây
mục cha
commit
a2a430db84
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      iOSClient/Media/NCMedia.swift

+ 2 - 1
iOSClient/Media/NCMedia.swift

@@ -78,7 +78,8 @@ class NCMedia: UIViewController, NCEmptyDataSetDelegate, NCSelectDelegate {
         collectionView.alwaysBounceVertical = true
         collectionView.contentInset = UIEdgeInsets(top: 75, left: 0, bottom: 50, right: 0);
         collectionView.backgroundColor = NCBrandColor.shared.systemBackground
-        
+        collectionView.bounces = false
+                
         gridLayout = NCGridMediaLayout()
         gridLayout.itemForLine = CGFloat(min(CCUtility.getMediaWidthImage(), 5))
         gridLayout.sectionHeadersPinToVisibleBounds = true