ASIHTTPRequest begins but never ends

前端 未结 1 732
孤独总比滥情好
孤独总比滥情好 2020-12-21 07:05

I have used ASIHTTPRequest a thousand times. This times is no different or special, but... when I start a request in the simulator (iOS 5.0) all is fine, when I start one on

相关标签:
1条回答
  • 2020-12-21 07:49

    Apparently there is a bug on ASIHTTPRequest. If you turn off optimization for ASIFormDataRequest.m ASIHTTPRequest.m everything seems to work.

    You turn of optimization by selecting the target project, select the file in "Compile sources" section of the "Build Phases" tab; and add -O0 (capitol O zero).

    Everything is explained here

    0 讨论(0)
提交回复
热议问题