iphone - SWRevealViewController and Tab Bar Controller -
i'm trying develop first app. recognize easy problem (and i'm not stating question clearly) more appreciated.
i've got storyboard uses swrevealcontroller. sw_rear panel gets swiped out side has few options in table form. 1 of options connected uitabbarcontroller. there 3 tabs. implementation file each of 3 views has [self.view addgesturerecognizer:self.revealviewcontroller.pangesturerecognizer]; allow me pan gesture bring sw_rear panel.
when compile, works first time. can go tab 1 , swipe , panel appears. go tab 2 , swipe , panel appears. then, if go panel 1 , swipe....nothing!
any ideas how fix problem?
thanks, rich
add code [self.view addgesturerecognizer:self.revealviewcontroller.pangesturerecognizer]; in viewwillappear method
Comments
Post a Comment