SWRevealViewController icon indicating copy to clipboard operation
SWRevealViewController copied to clipboard

added right view controller panGestureRecognizer and frontoverlay option

Open carlosmouracorreia opened this issue 7 years ago • 5 comments

Now you can use a panGestureRecognizer for rightViewController.

You also have an overlay for interaction to be blocked in the frontView (shouldUseFrontViewOverlay = true) in case the user toggles or pans the rear or right views controllers.

carlosmouracorreia avatar Aug 02 '17 10:08 carlosmouracorreia

Why? It seems that we already could use panGesture on right view as well on rear view...

iDevelopper avatar Aug 02 '17 11:08 iDevelopper

@iDevelopper could you? I didn't find any straightway form to do it, maybe i've missed it? anyway, the frontoverlay is now activated when you pan either from the right or left, without any animation still. Gonna work on this now,

carlosmouracorreia avatar Aug 03 '17 17:08 carlosmouracorreia

There are already a pan and a tap gesture in this library! Just call them in your front view controller and all is done!

iDevelopper avatar Aug 07 '17 05:08 iDevelopper

Sry im new in IOS Dev, i would like to ask that if the right view is in shown is full page after toggle? so the pan gesture in this library not able to hide back the right view to the right side isn't?

BlackieJS avatar Aug 10 '17 16:08 BlackieJS

Yes you are right! You can use https://github.com/iDevelopper/PBRevealViewController instead!

iDevelopper avatar Aug 11 '17 05:08 iDevelopper