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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T08:11:45+00:00 2026-06-15T08:11:45+00:00

I have added iPhone 5 compatibility by adding the default-568h@2x.png However, the tab bar

  • 0

I have added iPhone 5 compatibility by adding the default-568h@2x.png
However, the tab bar in my application does not come in the bottom as should be expected.

This tab bar is added via tabbarController in mainWindow.xib.

screenshot

NOTE: the bottom black part is clickable, but my view does not stretch itself to fit the screen.
I have tried the following already:
1) [window setFrame:[[UIScreen mainScreen] bounds]];
2) setting freeform/retina 4 inch display in xib
3) setting full screen at launch for window form xib
4) Removing mainwindow.xib and coding tabbarcontroller as the rootviewcontroller of window

EDIT:
Code in appDidFinishLaunching:

    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:    (NSDictionary *)launchOptions {
    //self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    [self.window setFrame:[[UIScreen mainScreen] bounds]];
   // [self tabbar];
    self.tabBarController.view.backgroundColor = [UIColor blackColor];
   // self.tabBarController.view.autoresizingMask = UIViewAutoresizingFlexibleBottomMargin;
    self.window.rootViewController = self.tabBarController;
[self.window makeKeyAndVisible];
return YES;
}

MainWindow.xib looks like: enter image description here

  • 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-15T08:11:46+00:00Added an answer on June 15, 2026 at 8:11 am

    My Bad!..I was using some APIs to show/hide tab bar. Those APIs had hardcoded 480 specified for y.
    oopsies!

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

Sidebar

Related Questions

I have added a tab bar (UITabBar) in my iPhone application. I want to
I have added the Sitecatalyst library to my iPhone application. However I get a
In my iphone application i have added the Uitable view. While launching the application
Hi I am have added the MWPhotoBrowser in my iPhone application it works great
I am working on iPhone app. I have added Navigation bar Background image With
I have implemented event calendar application.In which I have added event data in iphone
I have added a refresh UIBarButtonItem to my navigation bar on my iPhone app.
I have added a function of Email in my iPhone application and it is
I have added the <QuartzCore/QuartzCore.h> to my Frameworks folder in my iPhone project and
I am new to iphone development.I have created a UIview controller class and added

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.