38

Xcode 小技巧:利用 assets 配置针对不同设备的资源

 5 years ago
source link: http://www.cocoachina.com/ios/20180702/23991.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
根据设备的分辨率利用 Image Set 配置 2x、3x 的图片资源的功能大家已经已经很熟悉了。系统会自动根据对应的设备打包的时候带上对应的图片资源(app thin),也减小了包的大小。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK