Imagenamed: Method creates UIImage objects that are no longer in use and are placed in the default auto-recycle pool of the app, rather than in the auto-recycle pool of the current event loop, so that the memory used by such objects is recycled only at the end of the application. If you store a lot of them in this way, you will find that the application will quickly keep the whole memory tight. Also, because they are objects that are automatically recycled, you cannot reclaim the memory used by these objects even if you receive a memory warning. Therefore, please use this method carefully, preferably only on the small picture.
It is usually not recommended to copy large images into the project, which will make it very large and will encounter some problems when publishing, for example, more than a certain size of the application can not be downloaded from the App Store directly under the mobile network, so you may miss some users. However, in addition to large files, small icons and logo and other small images packaged into the application is possible.
"Reading notes" ios-optimizing memory