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

  • Home
  • SEARCH
  • 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 506975
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:45:23+00:00 2026-05-13T06:45:23+00:00

I have problem displaying images…. It works perfectly on simulator but on iphone device

  • 0

I have problem displaying images…. It works perfectly on simulator but on iphone device it doesn’t work…. here is the code for it…

Please Help –

UIView *shareView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 95)];
    shareView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"bgImage.png"]];


    UIButton *button1 = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 64, 95)];
    UIImage *icon1 = [UIImage imageNamed:@"icon1.png"];
    [button1 setImage:icon1 forState:UIControlStateNormal];
    [button1 addTarget:self action:@selector(sendEmail) forControlEvents:UIControlEventTouchDown];
    [shareView addSubview:button1];

    UIButton *button2 = [[UIButton alloc] initWithFrame:CGRectMake(64, 0, 64, 95)];
    UIImage *icon2 = [UIImage imageNamed:@"icon2.png"];
    [button2 setImage:icon2 forState:UIControlStateNormal];
    [shareView addSubview:button2];

    UIButton *button3 = [[UIButton alloc] initWithFrame:CGRectMake(128, 0, 64, 95)];
    UIImage *icon3 = [UIImage imageNamed:@"icon3.png"];
    [button3 setImage:icon3 forState:UIControlStateNormal];
    [shareView addSubview:button3];

    UIButton *button4 = [[UIButton alloc] initWithFrame:CGRectMake(192, 0, 64, 95)];
    UIImage *icon4 = [UIImage imageNamed:@"icon4.png"];
    [button4 setImage:icon4 forState:UIControlStateNormal];
    [shareView addSubview:button4];

    UIButton *button5 = [[UIButton alloc] initWithFrame:CGRectMake(256, 0, 64, 95)];
    UIImage *icon5 = [UIImage imageNamed:@"icon5.png"];
    [button5 setImage:icon5 forState:UIControlStateNormal];
    [shareView addSubview:button5];


    [shareCell.contentView addSubview:shareView];
  • 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-13T06:45:24+00:00Added an answer on May 13, 2026 at 6:45 am

    Did the .app folder (that you install on iphone device through iTunes) contains all the images?
    In my application i faced the same issue, since, images that i want to display are not present in the .app folder.

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

Sidebar

Related Questions

I have a problem with displaying images in WPF. Here's my code: <Button HorizontalAlignment=Left
I am having problem in displaying Tiff images in browser.I have my images stored
I have following css code for layout. td img {display: block;} While displaying images
Well, i have a web page where i am displaying few images. But my
I have a problem with displaying certain images in my application using C#. I
I have a problem displaying a View Controller when calling a segue from code
i am displaying images inside the list box. If the image URL doesn't have
I have problem with displaying adsense ads in ie7 google adsense adds an iframe
I have a problem consistently displaying Facebook Comments on my AJAX driven website. Each
My problem is that I have a user that is having a problem displaying

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.