Why isn't my Asset Catalog returning R4 images?

前端 未结 5 1785
一整个雨季
一整个雨季 2021-02-18 22:04

I\'m in the process of migrating my images to an Asset Catalog. My app needs to access the Launch Image after launch and display it on the screen.

Easy enough,

5条回答
  •  盖世英雄少女心
    2021-02-18 23:08

    The solution that we have used is to update the asset catalog and target only iOS 6 and Prior.

    How to do it. Go to the asset catalog. And on the top right corner click on the 'Attribute Inspector' icon. Here you can set the Target OS for the Launch Images. Uncheck the iOS 7 check boxes for iPhone. Now you should be able to see the launch images for these devices. Doing this you will use the 2x Image for R4 as well.

提交回复
热议问题