nslog(@"%@", request.responsestring); this gives me output of {"errors":{"email":["is taken"]}}.
i save email , message string "is taken" string display in alert. how can access 2 items 2 strings?
the response string raw output server. in case json encoded. can either use 1 of afnetworking json-specific classes (i.e. afjsonrequestoperation) response json object, or parse using nsjsonserialization. suggest using afjsonrequestoperation.
Comments
Post a Comment