I am trying to develope an iOS application with ABBYY OCR SDK sample code. I changed OCRDemoClient.m file with my applicationID and application password recieved by email. Because I want this application run on version 7, so I fixed some depreciated methods with latest version methods. Now, the sample code can be built successful in Xcode stimulator and iPhone devices. But when I use it to recognize the sample picture, it causes error :Expected status code in (200-299), got 401. It seems that this error caused by unauthorized client request over http request. But I am new to object C, I can't find how to fix this problem. Is there anyone has the same problem? Any suggestions are more than welcome!
Our developer recommends to use HTTP debugger (Fiddler, Wireshark or any other) to check if you send the right http-request.
answered 04 Mar '14, 16:03
Anastasia Ga... ♦♦