1 Reply
      Latest reply: Jan 13, 2018 10:58 PM by CharlesChwang RSS
      CharlesChwang Level 1 Level 1 (0 points)

        The problem is:

        When the screen orientation changed, the UIPanPressGestureRecognizer state will always be changed to UIGestureRecognizerStateCancelled and make this gesture invalid.But i found the gestures in the Photos didn't,  when i was dragging the listview of photos(i think it is a UICollectionView)  and rotated my iPhone, the screen orientation will no be changed Immediately unless i stopped my dragging.How to do this?

        Is there any way of avoiding this? Or is there some other approach of doing it?

        Thank you very much!