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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T13:50:16+00:00 2026-06-03T13:50:16+00:00

I am creating an iOS application that is suppose to get the list of

  • 0

I am creating an iOS application that is suppose to get the list of images present on the website and display them as tiles on the screen(similar to the displaying of images from photo library). I can display a single image from a URL in UIImageView but when it comes to displaying the complete list of images from a website, i am clueless. Any help in the right direction or any useful tutorial will be 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-03T13:50:17+00:00Added an answer on June 3, 2026 at 1:50 pm

    There are two parts to this question. I’ll give you a quick response to each one.

    1: download a list of images

    This could be as straight forward as using +arrayWithContentsOfURL: if you have complete control over your website. Be sure to dispatch the downloading to avoid blocking the UI thread.

    NSURL *URL = self.URLOfImages;
    dispatch_queue_t dispatch = dispatch_queue_create("fetch.images", NULL);
    dispatch_async(dispatch, ^{
        NSArray *images = [NSArray arrayWithContentsOfURL:URL];
        dispatch_async(dispatch_get_main_queue(), ^{
            self.images = images;
        });
    });
    dispatch_release(dispatch);
    

    NOTE: The URL must return the exact format expected by NSArray and self.images must notify the view that it needs to reload itself ie. [self.tableView reloadData].

    If you have less control over the URL, you will need to create a request using something like NSURLRequest, fetch the data using something like NSURLConnection, and parse out the the list of images from the response to create the array of images.

    In a much more complex scenario, paging will be involved. This will require only downloading some of the list, then as more images are needed requesting more images then.

    2: display the list of images

    This could be as simple as using a UITableView with UITableViewCells that use the UITableViewCellStyleDefault style, then set the imageView property in each cell.

    To get a better view of the image you could write use a custom table view cell subclassed from UITableViewCell. This would allow you to use a custom placement of the image and set the size of the image to what ever you would like.

    In a much more complex senario, you could create your own custom view that contains a UIScrollView that you would place all the images in.

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

Sidebar

Related Questions

I have a SQLite database that I am creating in my iOS application. A
I am creating an iOS application that I need to connect to a database
I am creating one application in iOs 5 using story board and in that
I'm creating an application for iOS and I'm stuck on a math issue. I
I'm creating an application for iOS 5 and I'm drawing some gradients. The following
I'm creating a static library for iOS and am trying to get code coverage
I am currently working on creating an application similar to the Contacts app on
I'm creating a ios application without nib files and want to initialize the window
I'm creating a reusable framework for displaying notifications in an iOS application. I'd like
I am creating an iPhone iOS Application. I have 3 tabs in a tab

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.