iOS - How to iterate through list of files on website directory

Posted by svjim on Stack Overflow See other posts from Stack Overflow or by svjim
Published on 2012-09-29T21:31:26Z Indexed on 2012/09/29 21:37 UTC
Read the original article Hit count: 145

Filed under:
|
|

On iOS, I am looking for the proper way to return the URLs for a list of files that are in a directory.

/images
    1.jpg
    2.jpg
    3.jpg
    ...

I know the URL for the directory and know all the files in the directory will be of type jpeg. It is not clear to me how to properly format the NSURLRequest to return the list of files in the images directory. Once the list is returned, I will iterate through it to return the individual images.

© Stack Overflow or respective owner

Related posts about ios

Related posts about nsurl