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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:39:16+00:00 2026-06-12T19:39:16+00:00

I hope this is an easy fix, I just can’t seem to wrap my

  • 0

I hope this is an easy fix, I just can’t seem to wrap my head around one concept.

Of course with the introduction of their retina display, the api has adapted by asking developers to alter the image names for different sizes.

Now I am simply trying to create a UIBarButtonItem using the method initWithImage:style:target:action:

I have created an image named barButtonImage.png with these dimensions: W:20px H:19px. I have also created an image named barButtonImage@2X.png with these dimensions: W:40px H:38px.

I was under the assumption that the API would adapt and scale the image appropriately but when I build and run on my retina device, I am given a UIBarButtonItem that has appropriately scaled the height of the image down to 19px but has kept the 40px width of the image intact so I have a horizontally stretched image fitting inside a wide UIBarButtonItem.

Any suggestions toward what I can do to fix this problem?

  • 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-12T19:39:17+00:00Added an answer on June 12, 2026 at 7:39 pm

    The image needs to be named with @2x, not @2X. iOS filenames on real devices are case sensitive.

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

Sidebar

Related Questions

i hope this one is an easy one to fix, what i would like
I hope this is a simple one, but I can't seem to be able
I hope this is an easy one. Using MVC4 with Entity Framework 4.1. I'am
hope this will be a quick easy question, I've just tried my app on
I hope this is any easy one. I have a view that I want
I hope this is an easy one, but I've got a page where there's
Totally new to mysql. I hope this is easy. Just want to search for
I hope this is a very easy one to solve. I have a crypto
This is probably just some simple beginner's mistake, but I just can't seem to
I hope this is easy to spot. This query has a synatx error; public

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.