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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:41:44+00:00 2026-05-28T01:41:44+00:00

I create the one application in that create the locally store the file in

  • 0

I create the one application in that create the locally store the file in payment while the application not be deleted.

This I have done: I download the file and store into locally (applications document folder).

Now I am having trouble with this:
While the after the image is downloaded then I fetch into locally and that image will not display. In NSLog following url is generated and i can’t display the image.

/Users/username/Library/Application%20Support/iPhone%20Simulator/5.0/Applications/F233ED88-1546-4FB0-BE93-0E0FB8C8C3D6/Documents/NationalMedalofArts-150×150.jpg

Edit:

NSURL *imageURL = [NSURL URLWithString:[NSString stringWithFormat:@"%@",
                   @"/Users/username/Library/Application Support/iPhone Simulator/5.0/Applications/F233ED88-1546-4FB0-BE93-0E0FB8C8C3D6/Documents/NationalMedalofArts-150x150.jpg"]];
NSData *imageData = [NSData dataWithContentsOfURL:imageURL];
NSLog(@"%@",imageData);
UIImage *image = [UIImage imageWithData:imageData];
self.imgView.image = image;

when the NSLog the NSData then it’s NULL to display

  • 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-28T01:41:44+00:00Added an answer on May 28, 2026 at 1:41 am

    This is better:

    NSString *fileName = @"NationalMedalofArts-150x150.jpg";
    NSString *path = [NSString stringWithFormat:@"%@/Documents/%@", NSHomeDirectory(), fileName];
    self.imgView.image = [UIImage imageWithContentsOfFile:path];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have few question in xcode 4.2 developing.In that i create one application for
I have web application that are using multiple clients. I should create one copy
I know that in a standalone application I create one of the application context
I'd like to know how one would create an application that starts in the
I have created one application in flex that is accessing the Java webservice using
How to create WPF Application Preloader (like one on this Word 2010 Prt Scrn)?
I am trying to create a little helper application, one scenario is file duplication
I have two windows application, one is a windows service which create EventWaitHandle and
I have one application that I sold to multiple clients. Each client has his
I read that using Flash Builder 4.5.1 you can create one application and run

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.