Either the server would need to return an http status code that you could add particular handling for or in the success completion block you would check the mapping results count and act accordingly.
Fail operation if 0 objects was returned in Restkit
-
19-06-2023 - |
Question
How would I manage to fail out the network opereation if 0 objects was returned in restkit? In my application I only want to return to a new window if there is data show.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow