iOS關於加載圖片的幾種方式選擇

最近在開發過程中遇到一些性能優化的東西,這次來說說關於圖片加載的性能優化和選擇。 大家都知道創建UIImage常用以下幾種方式 + (nullable UIImage *)imageNamed:(NSString *)name; // load from main bundle #if __has_include(<UIKit/UITraitCollection.h>) + (nulla
相關文章
相關標籤/搜索