12345678910111213141516171819202122 |
- //
- // GesConflictCollectionView.swift
- // SwiftBilibili
- //
- // Created by 罗文 on 2021/3/4.
- // Copyright © 2021年 罗文. All rights reserved.
- //
- import UIKit
- final class GesConflictCollectionView: UICollectionView,UIGestureRecognizerDelegate {
- var allowOtherGes: Bool = false
-
-
- func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool {
-
- return allowOtherGes
-
- }
- }
|