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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T20:12:55+00:00 2026-06-10T20:12:55+00:00

Just using Core Data alone, I can read in a plist file and set

  • 0

Just using Core Data alone, I can read in a plist file and set the image for an object like this:

[itemObject setValue:[UIImage imageNamed:[item valueForKey:@"image"]] forKey:@"image"];

This code will automatically choose the retina (@2x) version of the file in the app bundle if the device has a retina display.

How can I handle this if I’m getting the image from a web service instead? I guess I have to upload both 1x and 2x images to the web service. So do I create two separate fields for the item, like image-lowRes and image-highRes, and do a device check before I request the image data?
I figure this is a common scenario so I’m hoping someone can give some advice from experience on the best way to go about this.

  • 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-10T20:12:57+00:00Added an answer on June 10, 2026 at 8:12 pm

    You’ll want to pass the device density to your web service and potentially have three versions of your image assets, 1x, 1.5x, and 2x. The 1.5x is with Android in mind.

    Using the Android naming convention, you could store these in mdpi, hdpi, and xhdpi folders, though these details are entirely up to you.

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

Sidebar

Related Questions

My brain is fried! I can't think. I'm using Core Data, and this is
I'm trying to set a value and then return it using Core Data. This
I'm just starting out with using Core Data on the iPhone SDK and I'm
I am using Core Data for the first time and was just curious if
I've any problems for app I'm developing... I'm using Core Data and I just
I have just started using core data. I want to setup a pre-populated db.
I'm using Core Data to save my dynamic UITableView (not controller, AFAIK you can't
I just started using Core Data with sql-lite so I'm a bit new. I
I've been using Core Data for a while, but I just asked myself a
I have an iPhone app using Core Data, but I can't seem to figure

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.