xcode - How to change location of iPhone app icon? -
okay, noob. must simple stuck here.
i rigth-click , choose 'select file'.
after choose file dialogue appears:
i want keep icons not in root directory. can't figure out how this. tried different ways, create project scratch...
please help.
when bring image assets xcode in application bundle's root directory @ run time.
it appears you've added file named "icon@2x.png" project @ 1 time already. go project's summary page in xcode click build phases , expand section titled copy bundle resources. there you'll find reference resources copied bundle @ run time.
more on bundle structures here:
anyway, way i've done in past to:
- remove existing image duplicate xcode , folder structure in finder.
- add new folder in finder call "/appicons" (or whatever).
- copy app icons folder in finder.
- drag "/appicon" folder xcode project. typically put images in "/images" subdirectory in xcode project. again can put wherever you'd like.
- in xcode on project summary panel, add app icons folder "/appicons" dragging / dropping or right clicking , adding them separate files.
alternatively in past when i've had problems xcode copy app icons root project directory. if happens, make sure have "/appicons" folder structure on disc (in finder) , in xcode project. add app icons project, move them /appicons in finder, , re-reference them on again.
your copy bundle resources should have proper file reference. note apps icons go in "/images/appicons"
good luck!
Comments
Post a Comment