I am unable to get a response back ("didloadresponse" doesn't fire) from SFRestRequest and I am not sure why. Is the syntax of _queryParams correct?
Attribution to: Bart
Possible Suggestion/Solution #1
Did you implement the other delegate methods? If your request resulted in an error, it's not going to call request:didLoadResponse:
-- it will instead call one of the other 3 (failure) delegate methods.
Alternatively, did you try this query using the block query method and specify a failure block?
Attribution to: Jonathan Hersh
Possible Suggestion/Solution #2
I am new to iOS development, but I had a similar problem and fixed it by changing jsonResponse
to dataResponse
; suddenly it hits my breakpoint.
- (void)request:(SFRestRequest *)request didLoadResponse:(id)dataResponse {
}
Hope this helps!
Attribution to: Wade Wegner
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/30815