PPNetworkHelper icon indicating copy to clipboard operation
PPNetworkHelper copied to clipboard

AFNetworking 3.x 与YYCache封装

Results 34 PPNetworkHelper issues
Sort by recently updated
recently updated
newest added

+ (NSURLSessionTask *)uploadImagesWithURL:(NSString *)URL parameters:(id)parameters name:(NSString *)name images:(NSArray *)images fileNames:(NSArray *)fileNames imageScale:(CGFloat)imageScale imageType:(NSString *)imageType progress:(PPHttpProgress)progress success:(PPHttpRequestSuccess)success failure:(PPHttpRequestFailed)failure ; 此方法中的name会传给下边方法, - (void)appendPartWithFileData:(NSData *)data name:(NSString *)name fileName:(NSString *)fileName mimeType:(NSString *)mimeType 我们后台是PHP,同事反馈说多张图片name不能相同,不然只能接收到一张图片(图片会覆盖),建议将name:(NSString *)name改为建议将name:(NSArray...

自定义initWithBaseURL无效,在setAFHTTPSessionManagerProperty创建initWithBaseURL

NSData * data = [NSJSONSerialization dataWithJSONObject:responseObject options:NSJSONWritingPrettyPrinted error:nil]; NSString *jcString = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]; JCLog(@"=============请求结果:\n%@",jcString);

NSObject.h第17行不是这个吗? @protocol NSCopying 进不去

你好,我在使用过程中发现Download任务完成后返回的String是无法取得文件的,无论是转换为url还是直接取都不行。通过查看源码查看发现返回的是url.absoluteString,这样得到的string并不是文件路径,希望您修复这个Bug,或者告诉我如何使用返回的Path; 我建议通过手动拼接Path的方法,或者直接返回FileUrl。 谢谢