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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T00:47:21+00:00 2026-05-15T00:47:21+00:00

With whatever image I try to intialize the UIBarButtonItem, its just showing a white

  • 0

With whatever image I try to intialize the UIBarButtonItem, its just showing a white background in the size of the image. Even when I tired in interface builder, the result is the same. All these images when used with other objects works perfectly.

How can I solve this??

  • 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-15T00:47:22+00:00Added an answer on May 15, 2026 at 12:47 am

    Only alpha values in the image are used to create the bar button image. Whatever image you provide is converted into a image with shades of white, based on the alpha values.

    So given that your image is completely white it is clear you don’t have any transparency.

    The guidelines have this to say:

    • Use the PNG format.
    • Use pure white with appropriate alpha.
    • Do not include a drop shadow.
    • Use anti-aliasing.
    • If you decide to add a bevel, be sure that it is 90° (to help you do
      this, imagine a light source
      positioned at the top of the icon).
    • For toolbar and navigation bar icons, create an icon that measures
      about 20 x 20 pixels.
    • For tab bar icons, create an icon that measures about 30 x 30 pixels.

    Note: The icon you provide for
    toolbars, navigation bars, and tab
    bars is used as a mask to create the
    icon you see in your application. It
    is not necessary to create a
    full-color icon.

    You can however use a custom view to get a full-colour image as this question shows:

    Can I have a UIBarButtonItem with a colored image?

    This is a bit over the top though and it would be best to stick to the guidelines and use a normal button with an appropriately formatted image.

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

Sidebar

Related Questions

I want to get this image uploading script right, but for whatever reason it
Whatever size i give to it while allocation, it shows fixed size only. Is
Try to get this running, runs in Firefox, Safari, Chrome and whatever but IE7
I am using PHP to rotate an PNG image, with a transparant background. But
I'd like to be able to position an image (blue) so that what ever
On whatever reason this is not working (says 'file not found'), set in=c:\myprogram\_save cd
For whatever reason, std::cout does not display anything with my application. The description of
For whatever reason, Sessions don't work in my Silex-app. I set error_reporting in my
The following returns whatever integer I feed it as a parameter. def space(spacer_count) spacer_count.times
How can I redirect whatever is written to the console to be written into

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.