|
@@ -263,10 +263,8 @@ class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UIS
|
|
|
override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
|
|
|
super.viewWillTransition(to: size, with: coordinator)
|
|
|
|
|
|
- //coordinator.animate(alongsideTransition: nil) { _ in
|
|
|
- self.collectionView?.collectionViewLayout.invalidateLayout()
|
|
|
- self.collectionView?.reloadData()
|
|
|
- //}
|
|
|
+ self.collectionView?.collectionViewLayout.invalidateLayout()
|
|
|
+ self.collectionView?.reloadData()
|
|
|
}
|
|
|
|
|
|
override var canBecomeFirstResponder: Bool {
|