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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T20:02:24+00:00 2026-06-07T20:02:24+00:00

I have a problem that I just haven’t been able to figure out. I

  • 0

I have a problem that I just haven’t been able to figure out. I have an app done that will take a picture from the front and one from the back camera, then merge them together.

The name of the app is GroupCam

However I have an issue in where my UIButtons will not be loaded as retina images from the start. If i set them as @2x on the interface builder they do appear in high quality but once I reload them programmatically the low versions will appear instead.

This is due to the fact that, after a picture is taken and the screen changes the button images change, but when the user presses the back button the camera icons will look horrible (because the low quality versions are being loaded).

Please check the following pictures:

First Screen: Only the upper right button appears distorted because I am checking the value of the camera flash and “loading” the corresponding image programatically.

First Screen

Second Screen: The user has moved to another screen and came back to the first one, all buttons were reloaded and they now all look distorted.

Second Screen

Why is this happening?

Edit:

This is how I load the images.

[self.flashButton setImage:[UIImage imageNamed:@"flashOff"] 
                          forState:UIControlStateNormal];

I read somewhere on the internet that doing this will automatically load the most suitable version of the image.

I also tried this but the result is the same:

[self.takeButton setImage:[UIImage imageNamed:@"takePhoto.png"] forState:UIControlStateNormal];
  • 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-07T20:02:26+00:00Added an answer on June 7, 2026 at 8:02 pm

    If your app is taking a picture from the front camera and one from the back camera and merging them together, then the device requires a front facing camera. All iOS devices which have front facing cameras also have retina display’s (so long as your not developing for the iPad 2, but that’s a different story) so you shouldn’t really have to have normal images at all, so all your images should be retina images. If there are no normal images, then this issue shouldn’t happen at all. Make a backup copy, and try deleting all the normal images, and then try. Because your using the UIImage imageNamed:@”ImageName”, like you said, should automatically select the image! Good Luck!

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

Sidebar

Related Questions

I have a problem that I haven't been able to find a solution to,
I am having a problem that just started happening in OS 3.1. I have
I have a problem, i have a query that just simply displays the user
I have a viewController that autorotates just fine, The problem is that is I
I've just installed VS2008 and have run into a problem that I'm sure can
I have a dynamic list code that works just fine. My only problem now
I have a problem that has been driving me batty. I have code that
This may be a relatively straight-forward question that I just haven't been searching for
I have an extremely odd problem in my JUnit tests that I just can't
I have some problems with Javascript. In fact, I'm just newbie in that script

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.