YTKNetwork icon indicating copy to clipboard operation
YTKNetwork copied to clipboard

YTKNetwork is a high level request util based on AFNetworking.

Results 102 YTKNetwork issues
Sort by recently updated
recently updated
newest added

使用YTKNetwork配置SSL,结果AFNetwork出现崩溃,*** Terminating app due to uncaught exception 'Invalid Security Policy', reason: 'A security policy configured with `AFSSLPinningModeCertificate` can only be applied on a manager with a secure base URL (i.e....

### 提出 Pull Request 前请先确认完成了下列几项步骤 New Pull Request Checklist * [x] 我已经阅读过 [贡献指南](CONTRIBUTING.md) I have read and understood the [CONTRIBUTING guide](CONTRIBUTING.md) * [x] 我已经阅读过 [程序文档]((http://cocoadocs.org/docsets/YTKNetwork)) I have read the [Documentation](http://cocoadocs.org/docsets/YTKNetwork)...

### 提出问题前请先确认完成了下列几项步骤 New Issue Checklist * [ ] 我已经阅读过 [贡献指南](CONTRIBUTING.md) I have read and understood the [CONTRIBUTING guide](CONTRIBUTING.md) * [ ] 我已经阅读过 [程序文档]((http://cocoadocs.org/docsets/YTKNetwork)) I have read the [Documentation](http://cocoadocs.org/docsets/YTKNetwork) * [...

### 提出问题前请先确认完成了下列几项步骤 New Issue Checklist * [x] 我已经阅读过 [贡献指南](CONTRIBUTING.md) I have read and understood the [CONTRIBUTING guide](CONTRIBUTING.md) * [x] 我已经阅读过 [程序文档]((http://cocoadocs.org/docsets/YTKNetwork)) I have read the [Documentation](http://cocoadocs.org/docsets/YTKNetwork) * [x] 我已经证实这个问题来源于 YTKNetwork...

### 提出问题前请先确认完成了下列几项步骤 New Issue Checklist * [ ] 我已经阅读过 [贡献指南](CONTRIBUTING.md) I have read and understood the [CONTRIBUTING guide](CONTRIBUTING.md) * [ ] 我已经阅读过 [程序文档]((http://cocoadocs.org/docsets/YTKNetwork)) I have read the [Documentation](http://cocoadocs.org/docsets/YTKNetwork) * [...

现在有个需求是需要在一个接口请求的时候,如果请求失败,需要切换到另一个域名请求这个接口,请问需要用什么方法,可以快捷的实现这个需求呢? ### 提出问题前请先确认完成了下列几项步骤 New Issue Checklist * [ ] 我已经阅读过 [贡献指南](CONTRIBUTING.md) I have read and understood the [CONTRIBUTING guide](CONTRIBUTING.md) * [ ] 我已经阅读过 [程序文档]((http://cocoadocs.org/docsets/YTKNetwork)) I have read the [Documentation](http://cocoadocs.org/docsets/YTKNetwork) *...

在每次网络请求之前先调用,[[YTKNetworkAgent sharedAgent] cancelAllRequests]取消所有的网络请求,然后再进行网络请求,在IOS12的系统上会崩溃日志如下: ![image](https://user-images.githubusercontent.com/13567812/144779061-c3caec71-03e5-480c-8c66-41a55c314f5d.png) ![image](https://user-images.githubusercontent.com/13567812/144779130-bd819c69-103c-432a-9810-3872d02cace4.png) ![image](https://user-images.githubusercontent.com/13567812/144779213-7ca74959-ef1d-4ae3-8b11-1541b61defe6.png)

### 提出问题前请先确认完成了下列几项步骤 New Issue Checklist * [x] 我已经阅读过 [贡献指南](CONTRIBUTING.md) I have read and understood the [CONTRIBUTING guide](CONTRIBUTING.md) * [x] 我已经阅读过 [程序文档]((http://cocoadocs.org/docsets/YTKNetwork)) I have read the [Documentation](http://cocoadocs.org/docsets/YTKNetwork) * [x] 我已经证实这个问题来源于 YTKNetwork...

hi, 异常状态码: SIGBUS BUS_ADRALN ,访问了一个未对齐的地址 机型:iphone6s os系统:14.1~14.4 cache是默认设置 - (NSInteger)cacheTimeInSeconds { return -1; } 出错的地方:YTKRequest.m:148 dispatch_async(ytkrequest_cache_writing_queue(), ^{ [self saveResponseDataToCacheFile:[super responseData]]; }); bugly出错堆栈 libobjc.A.dylib | objc_retain + 8 -- | --...

### 提出问题前请先确认完成了下列几项步骤 New Issue Checklist * [ ] 我已经阅读过 [贡献指南](CONTRIBUTING.md) I have read and understood the [CONTRIBUTING guide](CONTRIBUTING.md) * [ ] 我已经阅读过 [程序文档]((http://cocoadocs.org/docsets/YTKNetwork)) I have read the [Documentation](http://cocoadocs.org/docsets/YTKNetwork) * [...