iphone - Perform a segue between two UIViewControllers from third UIViewController -
i have segue between 2 uiviewcontrollers
example b. in uiviewcontroller
(say c), have uitableview
subview
, when click on 1 of rows in c, want perform segue between b. possible?
i presenting c
uiviewcontrollers left-side slide menu using mfsidemenu
.
when, trying [uiviewcontroller performseguewithidentifier:sender:]
in didselectrowatindexpath
, segue not performed , throwing error.
please suggest.
if in uiviewcontroller
c, have reference uiviewcontroller *vca
, can try :
[vca performseguewithidentifier:@"identifier" sender:self];
i'm not sure work, it's better [uiviewcontroller performseguewithidentifier:sender:]
, because can't call performseguewithidentifier:
directly on class.
Comments
Post a Comment