slidingmenu - Unable to closed Sliding menu in iOS -
in application create sliding menu using swrevealviewcontroller when click on uiviewcontroller sliding menu not close automatically if view controller contain tableview on other click event how can solved problem code :
swrevealviewcontroller *revealcontroller = [self revealviewcontroller]; [self.view addgesturerecognizer:revealcontroller.pangesturerecognizer];
write code on green view viewdidload
method navigate view.
revealcontroller=[[swrevealviewcontroller alloc]init]; revealcontroller = [self revealviewcontroller]; [self.view addgesturerecognizer:revealcontroller.pangesturerecognizer]; revealcontroller.delegate=self; [revealcontroller pangesturerecognizer]; [revealcontroller tapgesturerecognizer];
Comments
Post a Comment