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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T05:45:08+00:00 2026-06-01T05:45:08+00:00

In XCode I am using the interface builder (StoryBoard) to lay out most of

  • 0

In XCode I am using the interface builder (StoryBoard) to lay out most of my layout. However I want some custom drawing on this. This works quite well.

There is however a problem what I am facing. I have a “bite” out of the active tab. (see http://cl.ly/Efno ) I want this bite fully transparent. (I have set an pink background color to see what part I want transparent which is not transparent.)

How I have changed the look and feel is the following.

  • Set the UITabBar class to my own class in the interface builder for the corresponding tabbar.
  • In the awakeFromNib of that class I have set the label position and image and selected image of each tabbar item. Like so

    [tabBarItem setFinishedSelectedImage:selectedImage withFinishedUnselectedImage:image];
    

Each image fully covers the entire tabbar in height and has the width of the tab item itself.

  • Set the background image of the tabbar to none (a fully transparent image)
  • Set the background color of the tabbar to a fully transparent color (now I have a pink color set to see where it goes wrong)
  • In the interface builder uncheck “opaque” for the tabbar.

However, it is not transparent, the pink part is black. How can I make this transparent?

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-06-01T05:45:10+00:00Added an answer on June 1, 2026 at 5:45 am

    Have a look at the appearance proxy for UITabBar, you might be able to do what you want there without having to use a custom subclass. There are tons of properties you can access and change. You could set the relevant properties in the app delegate. It is iOS5 only though, but I gather that you are using that already, since you mentioned storyboards.

    E.g.

    UIImage *tabBarBackground = [UIImage imageNamed:@"tabBarBackground.png"];
    [[UITabBar appearance] setBackgroundImage:tabBarBackground];
    [[UITabBar appearance] setSelectedImageTintColor:[UIColor colorWithRed:127.0/255.0 green:186.0/255.0 blue:235.0/255.0 alpha:1.0]];
    [[UITabBar appearance] setSelectionIndicatorImage:[UIImage imageNamed:@"tabBarItemSelected.png"]];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way in Xcode when using the Storyboard in the Interface Builder
How to use NavigationController in iPad using Interface Builder for Xcode 3.2? Is this
What is the purpose of using IBOutlets and IBActions in Xcode and Interface Builder?
I'm trying to make a simple Cocoa application using XCode 3.2.3. In interface builder
I'm making a simple dialog in XCode 4 using the Interface Builder. I have
I am using the interface builder in Xcode 4. I have created a 480(w)x320(h)
I'm trying to set up a three-line UILabel using XCode 4.2 and Interface Builder,
I built a table view using Xcode interface buidler. In this table there is
I have an XCode project, with the XIB interface files built using Interface Builder.
I am using xCode 4.2. I have most of the interface in the mainstoryboard.xib.

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.