My app is saving certain files. I need to be able to load the files up and show in a UITableViewController.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
You can query the Documents folder and then use that to populate a table view.
To get the contents of a directory (and perform other file operations), you can use the NSFileMananger class. Specifically, look into the
contentsOfDirectoryAtPath:Errormethod and the similar ones.Essentially, what you want to do is to store those results in an array or collection and then display them in the table view. You can use the standard UITableViewDelegate and data source methods.