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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T10:53:42+00:00 2026-06-15T10:53:42+00:00

Hi Friends i just Added TabbarController with UISplitViewController and relevant DetailsViewController using Bellow Code:-

  • 0

Hi Friends i just Added TabbarController with UISplitViewController and relevant DetailsViewController using Bellow Code:-

-(IBAction)loginclick:(id)sender
{

    tabBarController =[[UITabBarController alloc]init];
    NSMutableArray *array = [NSMutableArray array];

    NSMutableArray *tabArray = [NSMutableArray array];

    UISplitViewController *HomeSpilitView = [[[UISplitViewController alloc] init]autorelease];

    HomeSpilitViewController *HomeMster = [[HomeSpilitViewController alloc] initWithNibName:@"HomeSpilitViewController" bundle:nil];
    UINavigationController *masterNavigationController = [[[UINavigationController alloc] initWithRootViewController:HomeMster] autorelease];

    [array addObject:masterNavigationController];


    HomeDetailsViewController *HomeDetailsViewControllers = [[HomeDetailsViewController alloc] initWithNibName:@"HomeDetailsViewController" bundle:nil];

    UINavigationController *detailNavigationController = [[[UINavigationController alloc] initWithRootViewController:HomeDetailsViewControllers] autorelease];



    [array addObject:detailNavigationController];




    [HomeSpilitView setViewControllers:array];

    [tabArray addObject:HomeSpilitView];

    HomeMster.objHomeDetailsViewcontroller = HomeDetailsViewControllers;
    HomeSpilitView.delegate = HomeDetailsViewControllers;

    array = [NSMutableArray array];




    UISplitViewController *splitViewConntroller2 = [[[UISplitViewController alloc] init]autorelease];

    REMMasterViewController *viewCont3 = [[REMMasterViewController alloc] initWithNibName:@"REMMasterViewController" bundle:nil];

    UINavigationController *masterNavigationController3 = [[[UINavigationController alloc] initWithRootViewController:viewCont3] autorelease];

    [array addObject:masterNavigationController3];


    REMDetailViewController *viewCont4 = [[REMDetailViewController alloc] initWithNibName:@"REMDetailViewController" bundle:nil];

    UINavigationController *detailNavigationController2 = [[[UINavigationController alloc] initWithRootViewController:viewCont4] autorelease];


    [array addObject:detailNavigationController2];

    viewCont3.detailViewController = viewCont4;

     splitViewConntroller2.delegate = viewCont4;
    [splitViewConntroller2 setViewControllers:array];

    [tabArray addObject:splitViewConntroller2];



    // Add the tab bar controller's current view as a subview of the window
    [tabBarController setViewControllers:tabArray];

    objAppdelegate.window.rootViewController=tabBarController; 


}

And i set Navigation title in each ViewController in - (id)initWithNibName like:-

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        self.title = NSLocalizedString(@"Detail", @"Detail");

        //  self.navigationItem.title=@"details";    I am trying with this line code also
        //  self.tabBarItem.title=@"details";

    }
    return self;
}

In Above i am tying also set title with self.navigationItem.title=@"details , self.tabBarItem.title=@"details but still i have same Issue I don’t know where is mistake please guide me and help.

Thank you

  • 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-15T10:53:44+00:00Added an answer on June 15, 2026 at 10:53 am

    SOLVE

    solve using bellow line just adding before add tabbarController in window

    [[self.tabBarController.tabBar.items objectAtIndex:1] setTitle:NSLocalizedString(@”BotonMapas”, @”comment”)];

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

Sidebar

Related Questions

Rather than just grabbing the user's friends' emails, I want to show their list
I just created an iPhone app and am having friends try it out, but
G'day friends (I'm American, but G'day just sounds cool) I just installed the WCF
Friends i'm using string builder for generating Passenger List in which i have used
Basically a friends just gifted me an old domain to develop, it has quite
Just added double-click DFP ads to a friend's site. Realized that only one of
Below is my code, it is a script I need to run just 1
Not quite as racy as it sounds - I'm using the below code to
I am very new to PHP & MySQL. Just designing websites for friends as
Hi I have just released my app update with push notifications added into it.

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.