0

I have the following problem:

My app has 3 views, between the first and the second is necessary to use Navigation Controller but the third is not necessary, the occult with [[self navigationController] setNavigationBarHidden: NO animated: YES]; and return to the second mendiante a button and segue.

My problem is that when you return to the second view, it appears as navigation controller, but when you press back, it goes to the third view and not the first as it should. Can you help?

3
  • Not sure what "mendiante" means? Can you use another word? Commented May 29, 2014 at 15:36
  • Can you be more specific on how (and where) you have added UINavigationController? Also, I don't understand "return to the second mendiante a button and segue". Are you French? Commented May 29, 2014 at 15:36
  • "mediante"=using a button and segue Commented May 29, 2014 at 15:42

1 Answer 1

1

Do not use "push segue" from third view to second view. Use

- (IBAction)backToPreviousView:(id)sender {
    [self.navigationController popViewControllerAnimated:NO];
}

for third view button touch up event instead. Here is a snapshot for your preview.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.