objective c - Measure the memory usage of an UIImage array -
i implementing custom control present images, , control uses array store either uiimage
or nsstring
object. want implement such kind of mechanism:if memory usage high, control write big uiimage
objects files, replace uiimage
objects corresponding files path(nsstring
objects).
so question how mesure memory usage of uiimage
? thanks!
whenever code utilizes memory portion generates problem ios calls - (void)didreceivememorywarning
method. conversion part you'll have in method.
Comments
Post a Comment