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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T21:04:35+00:00 2026-06-07T21:04:35+00:00

I am grabbing my image from a webservice and pasting it into my app.

  • 0

I am grabbing my image from a webservice and pasting it into my app. The webservice saves the image as img.jpg. I wanted to change the picture to a different one so I got another one and saved the picture in the same spot to img.jpg. It overwrote the file

When I look in my webservice the picture is the new one. I retrieve the image with AsyncImageView like so:

[AsyncImageLoader sharedLoader] cancelLoadingURL:logoView.imageURL];

logoView.imageURL=[NSURL URLWithString:logourl];

The logourl is filled with the proper url but it isn’t grabbing the new image. It is keeping the old image there.

How can I clear that old image and use the new one?

  • 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-07T21:04:36+00:00Added an answer on June 7, 2026 at 9:04 pm

    You have to remove the old image from the cache, because the URL is the same for both images the ImageLoader thinks they are the same.

    [[AsyncImageCache sharedCache] removeImageForURL:logoView.imageURL];
    

    EDIT:

    Seems like my code was from an older version of AsyncImageLoader
    Try this:

    [[AsyncImageLoader defaultCache] removeObjectForKey:logoView.imageURL];
    //Make sure logoView.imageURL is a NSURL
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am dynamically grabbing image links from a database and inserting them into image
Im having trouble working grabbing a dynamically created image from this service: http://opsin.ch.cam.ac.uk/opsin/USER-STRUCTURE-TO-GENERATE.png Im
Grabbing album art for current song and using it to change a certain imageView.image
I have an image I'm grabbing from AVFoundation: [stillImage captureStillImageAsynchronouslyFromConnection:videoConnection completionHandler:^(CMSampleBufferRef imageSampleBuffer, NSError *error)
I'm grabbing app images from the iTunes affiliate program. Unfortunately Apple provides a square
I'm grabbing some image metadata from the Wikipedia API but noticed the text could
So in one of my tables, there lies an image file location. I'm grabbing
I have jquery grabbing an id from something else (image) and I would like
I am grabbing images from the users' contacts in their iOS Address Book/Contacts.app. And
I'm trying to add a datetime into a database table by grabbing values from

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.