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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:17:03+00:00 2026-05-27T18:17:03+00:00

I have an UIImageView that tries to load an image and if it does

  • 0

I have an UIImageView that tries to load an image and if it does not exist I make a call to download the image. Once the image is downloaded a NSNotification is sent and the UIImageView.image is set to the downloaded image. This is working but it takes a few seconds after the image is set for it to be shown in the UIImageView. Again the notification is sent AFTER the image is downloading so the delay is not the download of the image.

Here is the notification:

- (void)recieveImageDownloadUpdate:(NSNotification *)notification {

 if ([[item valueForKey:@"FlipBookPhotoID"] intValue] == imgView1.tag) {
        // this loads the image if the tag on the UIImageView matches the notification update
        imgView1.image = [Helpers getImageDownloadIfMissing:[[item valueForKey:@"PhotoName"] stringByReplacingOccurrencesOfString:@"_lg" withString:@""] withManufacturer:[item valueForKey:@"ManufacturerID"] withFlipBookID:[item valueForKey:@"FlipBookID"] withFlipBookPhotoID:[item valueForKey:@"FlipBookPhotoID"] shouldDownload:NO ];

    }
}

All of this is used in a UIScrollView with paging enabled, how do I get these images to show up immediately after the notification.

  • 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-27T18:17:04+00:00Added an answer on May 27, 2026 at 6:17 pm

    Perhaps you’re not setting it in the main thread. All UI work needs to be done there.

    - (void)recieveImageDownloadUpdate:(NSNotification *)notification {
        if ([[item valueForKey:@"FlipBookPhotoID"] intValue] == imgView1.tag) {
            dispatch_async(dispatch_get_main_queue(), ^{
                imgView1.image = [....]
            });
    }
    

    }

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

Sidebar

Related Questions

I have a UIImageView that starts off with an image (loading.png) specified in IB.
I have a UIImageView showing a image that is larger than it's frame. It's
I have an UIImageView on my view. Certain parts of that image, I want
I would like to have an UIImageView that flickers. I thougt I can make
I have a simple UIImageView with an image that is larger then the display
I have an object that return a cached image view (UIImageView), which do the
I have a UIImageView that is displaying a series of pictures as an animation.
I have a UIImageView object that when clicked it will play a animation, I
I have a subclass of UIImageView that I need to know when is touched.
I have a UIView container that has two UIImageView s inside it, one partially

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.