WWDC22 SALE: Save 50% on all my Swift books and bundles! >>

day 23 removing @3x.png

Forums > 100 Days of Swift

Hi,

for day 23 project, since using Filemanager method does not use app thinning that automatically delivers only the content each device is capable of showing, is it ok for me to only use @3x.png pictures in my project to accomodate for all Apple screen sizes and resolutions (non-retina)?

i used the below code to filter out.

for item in items{
            if item.description.hasSuffix("3x.png"){
                flags.append(item)
            }
        }

1      

Hacking with Swift is sponsored by Emerge

SPONSORED Optimize your app’s startup time, binary size, and overall performance using Emerge’s advanced app optimization and monitoring tools. Reliably measure app size, speed up your app's startup time with Emerge's Launch Booster, and much more. Emerge is actively used by many of the top mobile development teams in the world.

Find out more

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.