I have placed my images in assets catalogs and want those images but without cache? Is there any method available in Objective-C?
Asked
Active
Viewed 305 times
1
-
Without cache ? Why? `UIImage` `imageNamed:` cache them. – Larme Dec 08 '16 at 12:05
-
Have you tried -initWithContentsOfFile: with image extension? – Dheeraj D Dec 08 '16 at 12:06
-
So many images are there , only one load is needed , cache cases to growing memory – user2546030 Dec 08 '16 at 12:08
-
"initWithContentsOfFile" is fine !!! But how can i use it with images , which are stored in assets catalog for slicing. Do you have any idea about the problem – user2546030 Dec 08 '16 at 12:10
-
You have to pick them one by one or one at a time. – Dheeraj D Dec 08 '16 at 12:20
-
it's an animation , 100 images are there , Need to load an array of images as a time for preparing for the animation – user2546030 Dec 08 '16 at 12:40
-
see this post for your problem solution *http://stackoverflow.com/questions/22856283/use-xcassets-without-imagenamed-to-prevent-memory-problems/23438145#23438145* – TheCodeTalker Dec 08 '16 at 13:22
-
Worth full link for to the Answer : Anyone checked ? " After ios 8 came , the UIImage imageNamed: won't make problem , Even its taking image form catalog assets" – user2546030 Dec 09 '16 at 08:19