hey I have a task in which I need to perform a selector in background thread in which I need to do some video encodeing. The task goes fine. But if I press the back back button then I want that the method should be stop/kill. But it does not stop.
I searched a lot but does not found a satisfactory answere. I tried "cancellAllPreviousRequests" and also looked for NSQueueOperation but could not found how to use it to stop the background selector. Can anybody help me with relevent code.
Thank you in advance.