romaonthego / REFrostedViewController

iOS 7/8 style blurred view controller that appears on top of your view controller.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

View Pager within RefrostedView

smidaharoun opened this issue · comments

How can I make the side menu shows only when the user starts swiping from the start of the left of the screen.
Actually I am having View Pager with this menu, so I need to define the which one will make the swipe.
Anyone can help me implement it ?

    UIView *vw_pan = [[UIView alloc] initWithFrame:CGRectMake(self.view.frame.size.width - 40, self.navigationBar.frame.size.height + [UIApplication sharedApplication].statusBarFrame.size.height + 50, 40, self.view.frame.size.height)];
    vw_pan.backgroundColor = [UIColor clearColor];
    [self.view addSubview:vw_pan];
    [vw_pan addGestureRecognizer:[[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(panGestureRecognized:)]];