AppIcons未在设备上显示

时间:2014-05-30 14:24:48

标签: ios objective-c

在我的项目的images.xcassets文件夹中(以空的ios应用程序开头),我添加了一个新的AppIcon thingamajig,然后添加了所有应用程序大小的图标。当我在我的iPhone(而不是模拟器)上启动应用程序几次时,它没有显示它应该具有的应用程序图标。我确定xcassets文件夹工作正常 - 例如,我在我的应用程序中访问该文件夹中的其他图像(例如标签栏图标),所以我想知道是否有特别的东西我从空应用程序启动时必须执行以使AppIcon模板工作。

因此,您确定我已将图标添加到AppIcons ...

enter image description here

2 个答案:

答案 0 :(得分:0)

确保您在目标媒体资源中拥有正确的应用图标来源。

enter image description here

答案 1 :(得分:0)

  BrainLikeADullPencil today i wanted to set APP ICON,LAUNCH SCREEN and SPOTLIGHT FOR MY PROJECT.I did this very easily through the following things

        1.Click your PROJECT(It is in Navigator Area-left side)
        2.If you click that you can see PROJECT and TARGET in the Editor Area(It is in the middle exactly between Navigator Area(left side) and UTILITY Area(right side))
        3.You should click your ProjectName in TARGETS
        4.Then you can see the GENERAL,CAPABILITIES,INFO,BUILD SETTINGS,BUILD PHASES,BUILD RULES.
        5.Click GENERAL whare you can get IDENTITY,DEPLOY INFO,APP ICONS,LAUNCH IMAGES and LINKED FRAMEWORKS AND LIBRARIES

        6.Then choose App Icon where you can see the options(Iphone retina,Iphone normal) for icons(KIND,DIMENSIONS,RESOURCE).
        7.Click right side icon of small size folder.If you click that DROP DOWN BOX appears.
        8.In DROP DOWN BOX "select an iphone non retina and prior app icon" appears.
          Below inside the box your project app icons showing image that what u have copied and have in  a particular folder if you have icons into GROUP FOLDER in your project bundle.
        9.If you have not had that icons, choose ADD OTHER below the drop down box and once you click it asks the icons where you have there(in which part-whether it is documents,desktop or anything)fix that size or edit that icon in pariticular size(what you want) or according to the iphone retina or ipad retina.

       10.Finally select the size of icon what you want and it automatically(size-29,57,114,140...) appears in the RESOURCE.


     IF YOU CAN FOLLOW ABOVE THESE THINGS YOU CAN EASILY FIX IT.TRY THIS ONE.WHEN YOU RUN YOUR PROJECT IN DEVICE IT SHOWS YOUR APP ICON AUTOMATICALLY(1024*1024).