I was going through this link, where I came across a point Avoid UIImage’s imageNamed. For what reason we should avoid this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In Apple WWDC videos section they are saying imageNamed leaked once..But no longer do..I remember seeing the video, but cant remember which video section..It was in 2010 WWDC I think..ImageNamed still caches images..From documentation of imageNamed..
But I think these cache’s will be cleared when any low memory condition occurs..Just for your information..I am an avid fan of imageNamed and I always use it..I never had any memory issues with it..