0

Currently, I have a custom view (https://github.com/hsuanchih/CCGestureLock-Swift) which required to perform gesture handling

enter image description here

Now, I plan to place the gesture within a modal view controller.

I have added line

self.isModalInPresentation = true

to prevent modal view controller from being closed via "drag down" gesture.

However, I notice the gesture handling of my custom view broken.

enter image description here

I was wondering, is it ever possible to place a custom view which required gesture handling, inside a modal view controller? If yes, what is the workaround to do so?

Thanks.

Cheok Yan Cheng
  • 48,324
  • 124
  • 436
  • 828

0 Answers0