ios - Trying to get response from web-service using JSON error occurs -
i trying response web-service using json following error occurs.
please me solve
the error json returned web not correctly formatted. suggest extract data in string in order check receiving debugger.
i noticed in setter setting userdefaults without synchronize. after change of defaults object need call defaults.synchronize()
in order make effective changes.
at last suggest never assume data coming web correct , recommend put try in catch user not have crash in case of problems.
hope helped.
Comments
Post a Comment