ios - Does NSURLCache really require initialization as this article indicates? -


i confused this nshipster article states must initialize parameters cache in appdidfinishlaunching. thought nsurlcache automatically part of nsurlsession , nsurlconnection.

i have sworn i've had downloads cached before without initializing it. necessary?

no. [nsurlcache sharedurlcache] set ios. ran through debugger , found initial memorycapacity 512,000 bytes , initial diskcapacity 10,000,000 bytes (for ios 7.1).

the nshipster article referenced seem imply must first initialize shared cached, not appear true.


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -