ios - RESTKIT : How to abort unfinished network calls if new request is sent -
ios - RESTKIT : How to abort unfinished network calls if new request is sent -
is there way abort unfinished network calls haven't returned responses yet when new network request called?
currently request getting added in nsoperationqueue. want have 1 request @ time.
using object manager, phone call cancelallobjectrequestoperationswithmethod:matchingpathpattern:
- though mean need know patterns want cancel (or potential patterns).
alternatively can of operations on queue , cancel them...
usually cancel 1 request when new 1 made pattern alternative suffices.
ios restkit
Comments
Post a Comment