I have a NSInvocationOperation which is added to a NSOperationQueue. The operations basically just print number from 1 -> 1000000. What i want to do, is when the user navigate out of the current view controller, then the operation will be canceled.
But this :
doesn't seem work although it's called.
Any idea ?
But this :
Code:
[operation cancel];
doesn't seem work although it's called.
Any idea ?