Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8983933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T20:57:54+00:00 2026-06-15T20:57:54+00:00

I got a very headache problem while working on an iphone app. This app

  • 0

I got a very headache problem while working on an iphone app. This app is UITabBarController based, and each controller for Tab is UINavigationController based.

In one “UINavigationController”, there are two Controllers (I called it A and B here) in this “UINavigationController” stack, when clicking the tab it will display “A”, in “A”, there is a button if you click will go “B”, if you click “Back” button in “B”, will go back to “A”. See images below (for client’s stake, I remove some parts)

controller – A

enter image description here

controller – B

enter image description here

The question is : the client want to display the “Setting” page every time when click “setting” Tab, it means if it’s on “Terms” page, when click “setting” tab, it should go back to “setting” page…

I have tried these codes –

- (BOOL)tabBarController:(UITabBarController *)tabBarController shouldSelectViewController:(UIViewController *)viewController
{


    return YES;
}

But I don’t know how to do next, how to compare to know the “setting” tab is clicked? And how to always display “setting” page..any advice is appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T20:57:56+00:00Added an answer on June 15, 2026 at 8:57 pm

    In your Terms controller (controller B in your example), just add this code:

    -(void)viewDidDisappear:(BOOL)animated {
        [self.navigationController popViewControllerAnimated:NO];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I got a very interesting problem here. My iPhone app has an UITabbarController as
I got this very weird problem...and it's very important to my...dead line is close...and
I've got very little javascript programming skill, so this must be the problem with
This is based on a question I asked yesterday. It got very muddled, so
I got very basic question. Why this is not working?! <?xml version=1.0 encoding=utf-8?> <s:Application
I have got very big problem because I would like to get more information
I asked this question earlier and I got very quick and helpful responses: Linq
I need your support because I have got very difficult problem. I would like
I have already asked this question on ServerFault however I got very minimal replies....one
I got a very intersting question while writing a unit test. Can I test

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.