jjzjj

asiRequest

全部标签

iOS Sharepoint App 登录错误

我正在开发一个iOSiPad应用程序以连接到Sharepoint。我用ASIHTTPRequest框架来做这件事。我的代码如下所示:NSURL*url=[NSURLURLWithString:@"https://SHAREPOINTURL"];NSString*soapMessage=@"\n""\n""\n""\n""\n""\n";asiRequest=[ASIHTTPRequestrequestWithURL:url];[asiRequestsetUsername:@"USERNAME"];[asiRequestsetPassword:@"PASSWORD"];[asiReque

ios - ASIHTTPRequest - 来自缓存的数据始终为空

我正在我的iPhone/iPad应用程序中下载图像-因为它们大部分时间都保持不变,所以我想将它们缓存在磁盘上:ASIDownloadCache*cache=[ASIDownloadCachesharedCache];[asiRequestsetDownloadCache:cache];[asiRequestsetCacheStoragePolicy:ASICachePermanentlyCacheStoragePolicy];[asiRequestsetCachePolicy:ASIOnlyLoadIfNotCachedCachePolicy];[asiRequestsetSecond