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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T13:16:31+00:00 2026-06-10T13:16:31+00:00

I develop application for iPad 3 – with Retina display. I calculated, based on

  • 0

I develop application for iPad 3 – with Retina display. I calculated, based on specification, that image should be 1536 x 2008 to fill (with a statusbar) entire screen. I resized image to such dimensions, and I programmatically load it and sets it to display on UIImageView (loaded from storyboard). What is more, to get best performance I set up UIImageView mode to Center (to avoid scaling). When I run app I see only center of my image – as if my image was 4 times the screen – which is not true.

Hers my code of viewWillAppear method

UIImage *image = [UIImage imageWithContentsOfFile: self.pageData.pageFilename];

NSLog(@"Image size: %f %f", [image size].width, [image size].height);

NSLog(@"Image view size: %f %f", self.imageView.frame.size.width, self.imageView.frame.size.height);

[ self.imageView setImage: image];

And I get in output:

Image size: 1536.000000 1990.000000
Image view size: 768.000000 1004.000000

How to correct this? My image is JPG with size you can see, and 72 DPI – but I’m sure that DPI doesn’t matter

  • 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-10T13:16:32+00:00Added an answer on June 10, 2026 at 1:16 pm

    You are mixing up pixel and points.

    In iOS dimensions are measured in points, not in pixles. If the device uses retina display, then 1 point = 2 pixel. Using the old display you have 1 point = 1 pixel.


    Normal display
    1 point = 1 pixel
    1024 * 768 points
    1024 * 768 pixel

    Retina display
    1 point = 2 pixel
    1024 * 768 points
    2048 * 1536 pixel


    So in both cases the size of the display has the same size:
    1024 * 768 points

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

Sidebar

Related Questions

I have iPad first generation. But I should develop an application which requires gyroscope
I want to develop application that sends image/txt or any file from one android
I need to develop an iPad application which should manage the two orientation mode
i want to develop an application on android,webos,wince. how to develop application that should
We are using Monotouch to develop an application that is specific to the iPad,
I am developing an application for iOS 4 based iphone/ipad, required to develop custom
I need to develop an application on Android platform that enables a client to
We are considering using PhoneGap for an iPad application that we are developing. We
As I'm just starting to develop an iPad application & have started getting used
I have made the decision to use monotouch to develop an application that browses

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.