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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:07:58+00:00 2026-05-27T06:07:58+00:00

In my iOS app I have a tabBarController with a few navigationControllers. In applicationDidFinishLaunching

  • 0

In my iOS app I have a tabBarController with a few navigationControllers. In applicationDidFinishLaunching tabBarController.selectedViewController is null. This is after I assign the navigationControllers to the tabBar’s tabBarItems.

What is an appropriate default value for tabBarController.selectedViewController?

Perhaps it can be set to the first navigationController. Might need to be careful of the app launching from the background (in which case the user might not have left off at the first navigationController).

  • 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-27T06:07:58+00:00Added an answer on May 27, 2026 at 6:07 am

    From the documentation for UITabBarController, under selectedViewController:

    This view controller is the one whose custom view is currently
    displayed by the tab bar interface. The specified view controller must
    be in the viewControllers array. Assigning a new view controller to
    this property changes the currently displayed view and also selects an
    appropriate tab in the tab bar. Changing the view controller also
    updates the selectedIndex property accordingly. The default value of
    this property is nil.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an PhoneGap iOS app and have this HTML that won't show the
I have this code in my iOS app: - (IBAction)cameraButtonPressed:(id)sender { if ([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera]
In my iOS iPhone app I have this method: -(id)initWithLocationName:(NSString *)locatNm latitude:(double)lati longitude:(double)longi xCoord:(double)xco
I have released my first app on the iOS App Store a few days
Hi i have native ios app And i have old version that not compitible
I have an iOS app which i have sent to my client 1.Through test
I have an iOS app with a list of objects. Each object has some
Possible Duplicate: How to parse JSON in iOS App I have the following json:
I'm currently writing an iOS app and I have many records that I'm writing
guys, I have iOS app, which running good on ios5.0, but on 4.3.3 it's

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.