performSelectorInBackground, notify other viewcontroller when done.
- by Michiel
Hi,
I have a method used to save an image when the user clicks Save.
I use performSelectorInBackground to save the image, the viewcontroller is popped and the previous viewcontroller is shown.
I want the table (on the previousUIViewController) to reload its data when the imagesaving is done.
How can I do this?
The save method is called like this:
[self performSelectorInBackground:@selector(saveImage) withObject:nil];
[self.navigationController popViewControllerAnimated:YES];