kanyun-inc/YTKNetwork

使用MAXFLOAT来设置缓存时间有bug

wqforever opened this issue · 0 comments

在debug环境没问题,release环境,此设置无效。
代码如下:
- (NSInteger)cacheTimeInSeconds { if (self.shouldCache == YES) { return MAXFLOAT; } else { return -1; } }