You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NSJSONSerialization by Apple cannot process nil data, the responseData returned from NSURLConnection can be nil, so that would be a crash. That happened on the two lines.
NSJSONSerialization by Apple cannot process nil data, the responseData returned from NSURLConnection can be nil, so that would be a crash. That happened on the two lines.
id parsedJSONResponse = removeNull([NSJSONSerialization JSONObjectWithData:responseData options:NSJSONReadingMutableContainers error:nil]);
So, could you check nil before decode it ? Thank you !
—
Reply to this email directly or view it on GitHub.
NSJSONSerialization by Apple cannot process nil data, the responseData returned from NSURLConnection can be nil, so that would be a crash. That happened on the two lines.
So, could you check nil before decoding ? Thanks
The text was updated successfully, but these errors were encountered: