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

  • Home
  • SEARCH
  • 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 8359467
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T11:09:09+00:00 2026-06-09T11:09:09+00:00

I have a scrollable view where the UIImageView objects are added dynamically based on

  • 0

I have a scrollable view where the UIImageView objects are added dynamically based on the number of files. The UIImageView loads its image from an url. So for example if I have around 50 images to be loaded, how can I not let the loading stop the app from opening. This image is loaded on the initial view controller. I would like to add an activity indicator as a subview to the UIImageView object. and then it can load the images. However the app waits until all the images are loaded and then it opens. Hence i see a black screen for almost a minute.
Any suggestion would be greatly appreciated

  • 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-09T11:09:11+00:00Added an answer on June 9, 2026 at 11:09 am

    You can look into asyncronously loading the images and let iOS cope with the threads.

    Have a look at this tutorial.
    http://www.markj.net/iphone-asynchronous-table-image/
    It shows how to add dynamically loaded images to a table. However, the principle behind that will work with your scroll view as well.

    The principle is to subclass UIImage and add the methods for async load from URL and receiving data and finally displaying the image.

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

Sidebar

Related Questions

I have a scrollable div element with a number of checkboxes dynamically generated. I
I have a JScrollPane with a JPanel that implements Scrollable as its viewport view.
I Know people from Google have asked us not to put Scrollable view inside
I have a view with a UIScrollView, UIImageView for a background, and a UITextView.
UIScroll view lets me declared a scrollable area when I have too much content
I have a form-based app where each form is a scrollable layout of various
I know that setScrollsToTop gets confused when you have more than one scrollable view,
I have made horizontally scrollable UITableView by adding a table view to a UISrollView
I have a table-like scrollable view with sections. The layout structure is on the
I would like to have a scrollable image gallery that takes up most of

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.