Jul 21, 2018

Load image: imageWithContentsOfFile vs. imageNamed

Use imageWithContentsOfFile only when you are sure it’s used once since iOS won’t cache it; otherwise, use imageNamed.