Hi Guys,
My requirements are simple.
I would like scan files one by one in a specific folder by clicking a button. Whenever my code find a file, it needs to display the file name in the GUI until all the files are scanned.
Therefore I change a content for a UITableview object tableView and call
[self.tableView reloadData];
whenever a file is scanned.
But the problem is only the last content will be displayed. This means that only the last reloadData works. The other does not work.
I also tried to create threads to display the file name using above approach.
It still does not work.
How to solve the problem?
Thanks,
Forrest
My requirements are simple.
I would like scan files one by one in a specific folder by clicking a button. Whenever my code find a file, it needs to display the file name in the GUI until all the files are scanned.
Therefore I change a content for a UITableview object tableView and call
[self.tableView reloadData];
whenever a file is scanned.
But the problem is only the last content will be displayed. This means that only the last reloadData works. The other does not work.
I also tried to create threads to display the file name using above approach.
It still does not work.
How to solve the problem?
Thanks,
Forrest