iOS 暗黑模式適配

圖片適配: 使用ImageSet 打開Assets.xcassets 新建一個Image set  選擇右邊欄的Appearances中對應的選項適配深色模式。 使用方法:[UIImage imageNamed:@"xxxx"]; 圖片適配 顏色適配: 使用ColorSet 打開Assets.xcassets 新建一個Color set  選擇右邊欄的Appearances中對應的選項適配深色模式
相關文章
相關標籤/搜索