performSelectorInBackground, notify other viewcontroller when done.
Posted
by Michiel
on Stack Overflow
See other posts from Stack Overflow
or by Michiel
Published on 2010-01-20T17:55:02Z
Indexed on
2010/03/22
12:11 UTC
Read the original article
Hit count: 251
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];
© Stack Overflow or respective owner