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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T18:00:20+00:00 2026-06-16T18:00:20+00:00

I am working on the project I described in IPhone development: How to build

  • 0

I am working on the project I described in IPhone development: How to build a custom view hierarchy? . I am still struggling with the issues I described in that topic and meanwhile I tried to do something meaningful.

I needed to print a background image in the first view and I wrote the following code in my _MyAppName_ViewController.m class:

self.backGroundImage = [UIImage imageNamed:@"giris.jpg"];
self.view.backgroundColor = [UIColor colorWithPatternImage:self.backGroundImage];

backGroundImage is a property I declared in the header file, in the type of UIImage. giris.jpg is an image with the size of 640×960 but what I see in the simulator is that the upper left 320×480 sized part of the image. I tried to change the IOS Simulator Device type from IPhone to IPhone (Retina 3.5 Inch) and to IPhone (Retina 4.0 Inch) but I get the same results. Is there something I am missing in the code?

  • 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-16T18:00:22+00:00Added an answer on June 16, 2026 at 6:00 pm

    Please make sure that you included proper Non retina and retina image size of 320×480 and 640×960 respectively. The problem is the giris.jpg is of size 640×960 is considering as non retina due to its name.

    For Non retina – 320×480 – giris.jpg
    For Retina – 640×960 – giris@2x.jpg

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

Sidebar

Related Questions

I've been working on a project that can't be described as 'small' anymore (40+
I have a working project that Im amending, it crashes after trying to use
I am working on a project to load and run a custom binary format
I'm working on a project that I want to have be as flexible and
I have begun working on a project that, at the moment, produces a monolithic
I just checked out my (working) wicket project to a new development machine and
I'm currently working on a project that aims to recognize objects in an indoor
Specs: Python 2.7 I'm working on a project that has several modules, I want
I am working on a robotic project, that involves controlling the position of a
I'm working on a project that has these attributes: jQuery driving the page Unity

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.