Closed smidaharoun closed 8 years ago
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:)]];
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 ?