iDevelopper / PBRevealViewController

A UIViewController subclass for revealing a left and/or right view controller above or below a main view controller.
MIT License
80 stars 16 forks source link

PBrevealViewController touch gesture is not working on webview #17

Closed alisattar456 closed 7 years ago

alisattar456 commented 7 years ago

screen shot 2016-11-10 at 6 58 58 am

iDevelopper commented 7 years ago

Please use the delegate methods:

/**
 *  Implement this to return YES if you want other gesture recognizer to share touch events with the pan gesture.
 *
 *  @param revealController       The reveal view controller object.
 *  @param otherGestureRecognizer The other gesture recognizer.
 *
 *  @return YES if you want other gesture recognizer to share touch events with the pan gesture.
 *
 *  @see    -panGestureRecognizer
 */
- (BOOL)revealController:(PBRevealViewController *)revealController
panGestureRecognizerShouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer;

/**
 *  Implement this to return YES if you want other gesture recognizer to share touch events with the tap gesture.
 *
 *  @param revealController       The reveal view controller object.
 *  @param otherGestureRecognizer The other gesture recognizer.
 *
 *  @return YES if you want other gesture recognizer to share touch events with the tap gesture.
 *
 *  @see    -tapGestureRecognizer
 */
- (BOOL)revealController:(PBRevealViewController *)revealController
tapGestureRecognizerShouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer;
alisattar456 commented 7 years ago

I want to block back view when slide bar show pbrevealviewcontroller

On Thu, Nov 10, 2016 at 9:56 PM, Patrick notifications@github.com wrote:

Closed #17 https://github.com/iDevelopper/PBRevealViewController/issues/17.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/iDevelopper/PBRevealViewController/issues/17#event-854773917, or mute the thread https://github.com/notifications/unsubscribe-auth/ARaPa9JADzXKxUIZRL3ubyPPR8iFPbrSks5q80zRgaJpZM4Kuw7U .

iDevelopper commented 7 years ago

Please open a new issue and be more explicit because I don't understand your question!