English 中文(简体)
ASIHTTPRequest with 3G
原标题:ASIHTTPRequest with iPhone 3G

I am using ASIHTTPRequest in my project and i have a problem with iPhone 3G. i send a request to :

NSURL* pageURL = [NSURL URLWithString:@"https://accounts.google.com/ServiceLogin?service=sj"];
loginPageRequest = [[ASIHTTPRequest alloc] initWithURL:pageURL];
[loginPageRequest setTimeOutSeconds:30];
[loginPageRequest setDelegate:self];
[loginPageRequest startAsynchronous];

以及在其他装置中,一对:

- (void)requestFinished:(ASIHTTPRequest *)request

and in iPhone 3G i get a lot of times :

- (void)requestFailed:(ASIHTTPRequest *)request

页: 1

i 将申请时间定为30秒。

为什么会发生?

最佳回答

I also had this problem on iPhone 3G! I figured out it was a HTTP*S* (SSL) problem. My "valid" certificate was flagged as invalid.

请在您的请求中添加<条码>[查询:NO];。

如果你是幸运的,你也存在同样的问题。

问题回答

暂无回答




相关问题
Code sign Error

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

• 如何将搜查线重新定位?

我正试图把图像放在搜索条左边。 但是,问题始于这里,搜索条线不能重新布署。

热门标签