ios - Pop navigation controller on another navigation controller -


to navigation controller on modal segue figured i'd try create hierarchy can see in screenshot.

what right way in outlet exit modal (login info view controller)?

i tried different stuff:

- (ibaction)goback:(id)sender {     //none of these works.. (only tried 1 @ time..)     [self.navigationcontroller removefromparentviewcontroller];     [self.navigationcontroller popviewcontrolleranimated:yes];     [self.navigationcontroller.navigationcontroller popviewcontrolleranimated:yes]; } 

enter image description here

enter image description here

at point want dismiss modal viewcontroller, use line within class:

[self dismissviewcontrolleranimated:yes completion:^{ }]; 

so, in case, becomes:

- (ibaction)goback:(id)sender {     [self dismissviewcontrolleranimated:yes completion:^{     }]; } 

Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

android - IBM Worklight 6.1 [Application Error] There was a network error (file:///android_asset/www/index.html) -