I have what I think is a UX operation happening on a background thread. In a method that uses blocks, in the success I am calling:
[self.navigationController popViewControllerAnimated:TRUE];
I am getting a crash, so I am thinking that checking the current thread and calling performSelectorOnMainThread might fix this, but I am not sure how to setup the @selector portion of the call.
[self performSelectorOnMainThread:@selector([self.navigationController popViewControllerAnimated:TRUE]) withObject:nil waitUntilDone:NO];
is not working. What is the proper syntax?