I have a rather odd question. I want to know if it's possible to block any requests (current and future) using AFNetworking 2.0. My app needs to do something like this: if the user is not on a wifi connection -> block any requests that the app may have. I only found a way to block all current requests:
[self.manager.operationQueue cancelAllOperations];
Any help is welcome and much appreciated