From bd49683e13b85230b61a68213e1739b2cbab04dd Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sat, 26 Jun 2021 17:18:04 -0400 Subject: [PATCH] Fix not being able to select assets on iOS 15 beta 2 --- .../Screens/Asset Picker/AssetCollectionViewController.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Tusker/Screens/Asset Picker/AssetCollectionViewController.swift b/Tusker/Screens/Asset Picker/AssetCollectionViewController.swift index a29b270a..29e10581 100644 --- a/Tusker/Screens/Asset Picker/AssetCollectionViewController.swift +++ b/Tusker/Screens/Asset Picker/AssetCollectionViewController.swift @@ -70,6 +70,7 @@ class AssetCollectionViewController: UICollectionViewController { collectionView.alwaysBounceVertical = true collectionView.allowsMultipleSelection = true + collectionView.allowsSelection = true collectionView.register(UINib(nibName: "AssetCollectionViewCell", bundle: .main), forCellWithReuseIdentifier: reuseIdentifier) collectionView.register(UINib(nibName: "ShowCameraCollectionViewCell", bundle: .main), forCellWithReuseIdentifier: cameraReuseIdentifier) @@ -98,8 +99,6 @@ class AssetCollectionViewController: UICollectionViewController { } }) - setEditing(true, animated: false) - updateItemsSelectedCount() if let singleFingerPanGesture = collectionView.gestureRecognizers?.first(where: {