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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T16:11:09+00:00 2026-06-07T16:11:09+00:00

I am developing an iOS app in which it is required to change the

  • 0

I am developing an iOS app in which it is required to change the height of UITabBar. First, I changed it via the frame property of tabbar but that didn’t give desired results and icon sizes were also very small. So, I wrote the following code to change the background of the tabbar and to increase the size of its icons.

for (UIView *view in ctrl.tabBar.subviews) {
    if ([NSStringFromClass(view.class) isEqualToString:@"_UITabBarBackgroundView"]) {
        [view removeFromSuperview];
        
        CGRect frame = ctrl.tabBar.frame;
        frame.origin = CGPointZero;
        frame.size.height = floor(frame.size.height / 2);
        
        UIView *background = [[UIView alloc] initWithFrame:frame];
        background.backgroundColor = [UIColor colorWithRed:0.15 green:0.15 blue:0.15 alpha:1.0];
        background.userInteractionEnabled = NO;

        [ctrl.tabBar addSubview:background];
        [ctrl.tabBar sendSubviewToBack:background];
        
        [background release];
    }

    for (UIView *subview in view.subviews) {
        if ([NSStringFromClass(subview.class) isEqualToString:@"UITabBarSwappableImageView"]) {
            CGRect frame = subview.frame;
            frame.size.height = 80;
            subview.frame = frame;
            subview.contentMode = UIViewContentModeCenter;
        }
        
        if ([NSStringFromClass(subview.class) isEqualToString:@"UITabBarButtonLabel"]) {
            CGRect sFrame = subview.frame;
            sFrame.size.height += diff;
            subview.frame = sFrame;
        }
    }
}

So I want to confirm, "Is this code safe for approval or not?"

  • 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-07T16:11:11+00:00Added an answer on June 7, 2026 at 4:11 pm

    You don’t have to worry about being rejected for using a private API, because you aren’t using one. Many apps are on the store now with custom tab bars, so it shouldn’t be a problem on that basis either. By styling the tab bar certain ways, though, you may not be adhering to the iOS Human Interface Guidelines. According to the App Store Review Guidelines, especially section 10 on this page, not following interface guidelines is grounds for rejection. I recommend reading the guidelines for more information; they have a lot of good advice anyway.

    Apple seems to be a lot faster about responding to submissions now than they used to be, so since it looks like you already have everything set up, you could send it in and see what they say. I don’t foresee a major problem, but Apple has the final word. They often will tell you exactly what’s wrong so you can correct it easily.

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

Sidebar

Related Questions

I am currently developing my first iOS app which i have tested on simulator
I'm developing an iOS app, but i need to identify the user who made
I am developing an app for iOS 5, which have to run in landscape
I am a real n00b in developing iOS app. This is my first application
I'm developing an iOS app, which is my graduation project.. the app is supposed
I have an iOS app which I am developing, this app has videos which
I am new to developing iOS apps. I am currently making an app which
I am developing an iOS app with a tab bar controller. In the first
I am developing an iOS app in which I am streaming .mp3 files using
I am developing an iOS app which saves picture in an Amazon S3 server.

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.