three20的TTURLRequest可以在发请求前获取到时候cache了的状态吗?
ringa_lee2017-04-17 11:00:05
在请求完成的时候,request里有一个 respondedFromCache 的属性,bool型的。
定义如下:
/** * Whether or not the request was loaded from the cache. * * This is only valid after the request has completed. */ @property (nonatomic) BOOL respondedFromCache;