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 7182123
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T17:42:12+00:00 2026-05-28T17:42:12+00:00

I have run across this where I need to know whether my current viewcontroller

  • 0

I have run across this where I need to know whether my current viewcontroller is on moreNavigationController or it is a tab item. Basically I want to hide TabBar for some of my screens and giving choice to user to move back to homescreen(ideally previous screen) using left navigation button! If my view controller is on moreNavigationController then I can simply popViewControllerAnimated:YES and it will go back to More screen but when it is Tab item then I need to change the selected tab index.

Is there anyway to know whether current view controller is on moreNavigationController?

Thanks.

  • 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-05-28T17:42:13+00:00Added an answer on May 28, 2026 at 5:42 pm

    I don’t have a project to test it on, but I think this might do it.

    BOOL isOnMore = ([self.tabBarController.moreNavigationController.viewControllers containsObject:self]);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have run across an XML Schema with the following definition: <xs:simpleType name=ClassRankType> <xs:restriction
While building several different projects in QtCreator, I have run across the following build
I have recently run across these terms few times but I am quite confused
In all my years of .NET programming I have not run across a bug
I have run into this problem before but never quite solved it. I have
I need to know of a solution to run a local test server through
Hopefully this question won't be too convoluted or vague. I know what I want
I have run into a common, yet difficult problem. I do not use Photoshop
I have run in to a bit of a problem and I have done
I have run into a bit of a tricky problem in some C++ code,

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.